| Class | Merb::SessionStoreContainer |
| In: |
lib/merb-core/dispatch/session/store_container.rb
|
| Parent: | SessionContainer |
| _fingerprint | [RW] | :api: private |
Generates a new session ID and creates a new session.
| SessionStoreContainer: | The new session. |
:api: private
Setup a new session or retreive an existing session.
| request<Merb::Request>: | The Merb::Request that came in from Rack. |
If no sessions were found, a new SessionContainer will be generated.
| SessionContainer: | a SessionContainer. |
:api: private
Teardown and/or persist the current session.
If @_destroy is true, clear out the session completely, including removal of the session cookie itself.
| request<Merb::Request>: | The Merb::Request that came in from Rack. |
The data (self) is converted to a Hash first, since a container might choose to do a full Marshal on the data, which would make it persist attributes like ‘needs_new_cookie’, which it shouldn‘t.
:api: private