John:
I''ve had great results using the method outlined here:
http://www.turnofthecrank.com/2006/03/08/how-to-persist-rails-sessions-via-cookies-using-the-login-engine-plugin/
It is specifically tailored to the Login Engine, but you can apply the
concepts to any login system you use/write.
c.
John Kopanas wrote:> After someone logs into my system and then closes their browser they
> are logged out of the system and have to re-login. How to I make sure
> the person stays logged in until they explicitly choose to log out?
>
> Better yet on login if the person selects ''keep me logged
in'' how do I
> keep the user logged in?
>
> Thanks for your help :-).
>
> --
> John Kopanas
> john-Iau1QiYlxLpBDgjK7y7TUQ@public.gmane.org
>
> http://www.kopanas.com
> http://www.cusec.net
> http://www.soen.info
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---