1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
This commit is contained in:
Konstantin Haase 2011-06-22 19:19:04 +02:00
parent 21bc6271d5
commit 9eb0dfe7dd

View file

@ -668,7 +668,7 @@ Note that <tt>enable :sessions</tt> actually stores all data in a cookie. This
might not always be what you want (storing lots of data will increase your
traffic, for instance). You can use any Rack session middleware: in order to
do so, do *not* call <tt>enable :sessions</tt>, but instead pull in your
middleware of choice how you would any other middleware:
middleware of choice as you would any other middleware:
use Rack::Session::Pool, :expire_after => 2592000