[Rails] Re: Re: remember_me_for in authlogic

2010-02-10 Thread Tom Mac
Hi Thanks for the reply. What you said is right And from the doc what I understood is it sets remember_me default as 3.months. But how can we modify that? That is my question. What I need is when user check remember_me check box from view time should be set to 2 weeks (say 2 minutes as an

Re: [Rails] Re: Re: remember_me_for in authlogic

2010-02-10 Thread Conrad Taylor
class UserSession Authlogic::Session::Base def remember_me_for 2.minutes end end Next, I would recommend looking at your cookies to verify that session cookie is properly created and expired. Good luck, -Conrad -- Posted via http://www.ruby-forum.com/. -- You received this