| Class | EtherpadLite::Session |
| In: |
lib/etherpad-lite/models/session.rb
|
| Parent: | Object |
An Etherpad Lite Session between a Group and an Author. See those classes for examples of how to create a session.
Sessions are useful for embedding an Etherpad Lite Pad into a external application. For public pads, sessions are not necessary. However Group pads require a Session to access to the pad via the Web UI.
Generally, you will create the session server side, then pass its id to the embedded pad using a cookie. See the README for an example in a Rails app.
| id | [R] | The session id |
| instance | [R] | The EtherpadLite::Instance object |