I was looking for a way to do this and found a good resource to find out how (without coding it yourself!)
http://www.quarkruby.com/2007/10/21/sessions-and-cookies-in-ruby-on-rails#sexpire refers to a plugin called limited session but the link is no longer valid. Check out http://iprog.com/project/limited_sessions
Update: this breaks in Rails 2.3, I think it's because of the lazy loading. I've never learned much about sessions, so for now I'll move back to file stored.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment