Forum: Ruby on Rails optional session saving

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Chad (Guest)
on 2006-12-31 01:42
(Received via mailing list)
What's the best way to implement a "remember me" button for login?
Should I set a cookie based on whether or not it was checked or should
I change the session expiration based on the choice?

If session, how do I change expiration from controller and not
environment.rb?
This topic is locked and can not be replied to.