Class Merb::DataMapperSessionStore
In: lib/merb/session/data_mapper_session.rb
Parent: Object

Methods

Included Modules

::DataMapper::Resource

Public Class methods

Deletes a session with the given id

@param session_id<String> The session to destroy

Retrieves a session from the session store

@param session_id<String> The session_id to retrieve the session for

@returns <nil, DataMapperSessionStore> The session corresponding to the id, or nil

Stores the data in a session with the given session_id, creating it if required

@param session_id<String> The session_id to find the session by, or the id of the new session @param data<Object> The data to be stored in the session. Probably a hash

[Validate]