Class: Merb::DataMapperSessionStore

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

### Methods

default_repository_name delete_session retrieve_session store_session

### Included Modules

::DataMapper::Resource

### Public Class methods

default_repository_name()
delete_session(session_id)

Deletes a session with the given id

@param session_id<String> The session to destroy

retrieve_session(session_id)

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

store_session(session_id, data)

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]