Class Rack::Session::Cookie
In: lib/rack/session/cookie.rb
Parent: 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.


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

    All parameters are optional.


call   new  

Public Class methods

Public Instance methods