Class | Merb::MemorySessionContainer |
In: |
lib/merb-core/dispatch/session/memory.rb
|
Parent: | Object |
Used for handling multiple sessions stored in memory.
key<String>: | ID of the session to retrieve. |
MemorySession: | The session corresponding to the ID. |
key<String>: | ID of the session to set. |
val<MemorySession>: | The session to set. |
Creates a new session based on the options.
opts<Hash>: | The session options (see below). |
:session_id<String>: | ID of the session to create in the container. |
:data<MemorySession>: | The session to create in the container. |
ttl<Fixnum>: | Session validity time in seconds. Defaults to 1 hour. |
MemorySessionContainer: | The new session container. |