Class

Rack::Session::Cookie

Inheritance
< Object

Rack::Session::Cookie provides simple cookie based session management. The session is a Ruby Hash stored as base64 encoded marshalled data set to :key (default: rack.session). When the secret key is set, cookie data is checked for data integrity.

Example:

    use Rack::Session::Cookie, :key => 'rack.session',
                               :domain => 'foo.com',
                               :path => '/',
                               :expire_after => 2592000,
                               :secret => 'change_me'

    All parameters are optional.

Methods

Class

Visibility Signature
public new (app, options={})

Instance

Visibility Signature
public call (env)

Class Method Detail

new(app, options={})

Instance Method Detail

call(env)