Class Merb::ActiveRecordSessionStore
In: lib/merb/session/active_record_session.rb
Parent: ::ActiveRecord::Base

Sessions stored in ActiveRecord model.

To use ActiveRecord based sessions add the following to config/init.rb:

Merb::Config[:session_store] = ‘activerecord‘

Methods

Public Class methods

Parameters

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

Parameters

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

Returns

ContainerSession:The session corresponding to the ID.

Parameters

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

[Validate]