Commit graph

2 commits

Author SHA1 Message Date
Tom Hughes
26b217c0ad Work round session expiry bug in rails 2.3.11
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...
2011-06-02 10:23:22 +01:00
Tom Hughes
60f145f13e Add a plugin to handle session persistence. This is based on the
plugin at http://github.com/augustl/session-persistence but modified
to work with rails 2 rather than rails 3.
2010-02-25 16:39:51 +00:00