Keeping Person Loggen In For 2 Weeks

Frig, I can never remember this… how do I keep someone logged in for 2
weeks? I know it is a simple one liner but google and my PDF books are
failing me right now.


John K.
[email protected]

Blog: http://www.kopanas.com
Conference: http://www.cusec.net
Twits: http://www.twitter.com/kopanas

acts_as_authenticated stores the information in a cookie:

cookies[:auth_token] = { :value => self.current_user.remember_token ,
:expires => self.current_user.remember_token_expires_at }

On Dec 28, 2007 12:43 PM, John K. [email protected] wrote:

Twits: http://www.twitter.com/kopanas


Ryan B.

Feel free to add me to MSN and/or GTalk as this email.