Rails uses :expire_after in the session options to specify when a sesssion should expire, but when Rack sets the cookie it expects to see :expires in the cookie options but Rails 2.3.11 fails to do the conversion so doesn't set the cookie expiry. To work around this, we set both options in the session options... |
||
---|---|---|
.. | ||
session_persistence.rb |