Class Merb::MemorySessionStore
In: lib/merb-core/dispatch/session/memory.rb
Parent: Object

Used for handling multiple sessions stored in memory.

Methods

Public Class methods

Parameters

ttl<Fixnum>:Session validity time in seconds. Defaults to 1 hour.

:api: private

Public Instance methods

Parameters

session_id<String>:ID of the session to delete.

:api: private

Deletes any sessions that have reached their maximum validity.

:api: private

Parameters

session_id<String>:ID of the session to retrieve.

Returns

ContainerSession:The session corresponding to the ID.

:api: private

Starts the timer that will eventually reap outdated sessions.

:api: private

Parameters

session_id<String>:ID of the session to set.
data<ContainerSession>:The session to set.

:api: private

[Validate]