| Class | Rack::Session::Pool |
| In: |
lib/rack/session/pool.rb
|
| Parent: | Object |
Rack::Session::Pool provides simple cookie based session management. Session data is stored in a hash held by @pool. The corresponding session key sent to the client. The pool is unmonitored and unregulated, which means that over prolonged use the session pool will be very large.
Example:
use Rack::Session::Pool, :key => 'rack.session',
:domain => 'foo.com',
:path => '/',
:expire_after => 2592000
All parameters are optional.
| key | [R] | |
| pool | [R] |