Use cookies, enable the cookies for two weeks. Session should not be used here.
On Tue, Oct 28, 2008 at 6:58 AM, Ben Knight < [EMAIL PROTECTED]> wrote: > > 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 > logout). > > Thanks. > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---