Class | Merb::SessionContainer |
In: |
lib/merb-core/dispatch/session/container.rb
|
Parent: | Mash |
needs_new_cookie | [RW] | :api: private |
session_id | [R] | :api: private |
Generates a new session ID and creates a new session.
SessionContainer: | The new session. |
:api: private
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. |
:api: private
Assign a new session_id.
Recreates the cookie with the default expiration time. Useful during log in for pushing back the expiration date.
:api: private