"remember me" checkbox


#1

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


#2

On 28 Dec 2006, at 03:49, Chad A. 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+as+Authenticated

This plugin has everything you need and even more.

The remember me option uses a cookie btw.

Best regards

Peter De Berdt


#3

thanks for pointing me to that.