"remember me" checkbox

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

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

thanks for pointing me to that.