Forum: Rails deployment "Remember Me" feature

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ben K. (Guest)
on 2008-10-28 03:28
I realize this has probably been asked on these forums before but I
wanted to get the latest information on what's available.

We need to implement the typical "Remember Me" checkbox feature you find
for logins on various site.

What's the best way to do this in Rails 1.2.x and 2.x?  Should we use
cookies[] directly?  Or, can I use session[]?  We need this "remember
me" to be around for at least 2 weeks, maybe even forever (till they

Sathish K. (Guest)
on 2008-10-28 05:57
(Received via mailing list)
Use cookies, enable the cookies for two weeks. Session should not be

On Tue, Oct 28, 2008 at 6:58 AM, Ben K. <
Ryan B. (Guest)
on 2008-10-28 06:48
(Received via mailing list)
You can look at how restful_authentication,
  does it and that should give you a clue.
Ryan B.
This topic is locked and can not be replied to.