Module: Merb::Session

Defined in:


The Merb::Session module gets mixed into Merb::SessionContainer to allow app-level functionality (usually found in ./merb/session/session.rb) for session.

You can use this module to implement additional methods to simplify building wizard-like application components, authentication frameworks, etc.

Session configuration options:

:session_id_key The key by which a session value/id is

retrieved; defaults to _session_id

:session_expiry When to expire the session cookie;

by defaults session expires when browser quits.

:session_secret_key A secret string which is used to sign/validate

session data; min. 16 chars

:default_cookie_domain The default domain to write cookies for.