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

Methods

Attributes

data  [W] 
needs_new_cookie  [RW] 

Public Class methods

Generates a new session ID and creates a row for the new session in the database.

Gets the existing session based on the session_id available in cookies. If none is found, generates a new session.

Public Instance methods

Lazy-unmarshal session state.

Has the session been loaded yet?

Recreates the cookie with the default expiration time Useful during log in for pushing back the expiration date

Regenerate the Session ID

[Validate]