Forum: Ruby on Rails "remember me" checkbox

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.
E41ff53614fcbf599d07b0d55bd18269?d=identicon&s=25 Chad Arimura (Guest)
on 2006-12-28 03:50
(Received via mailing list)
Is there any way to set the session expiration from the controller?  I
can do it from the environment file but not in the code...

I want to implement a "remember me" checkbox at the login...

Thanks,
Chad
00973881979aa0a660ffbbb2f7a907fb?d=identicon&s=25 Peter De Berdt (Guest)
on 2006-12-28 12:17
(Received via mailing list)
On 28 Dec 2006, at 03:49, Chad Arimura wrote:

>
> Is there any way to set the session expiration from the controller?  I
> can do it from the environment file but not in the code...
>
> I want to implement a "remember me" checkbox at the login...

Generate a new rails app (name it "testapp" or something), then
install the acts_as_authenticated plugin and follow the instructions
at http://technoweenie.stikipad.com/plugins/show/Acts...

This plugin has everything you need and even more.

The remember me option uses a cookie btw.


Best regards

Peter De Berdt
E41ff53614fcbf599d07b0d55bd18269?d=identicon&s=25 Chad Arimura (Guest)
on 2006-12-28 18:16
(Received via mailing list)
thanks for pointing me to that.
This topic is locked and can not be replied to.