Re: Keep user logged in with cookie



On Feb 6, 7:51 pm, Nate.Bax...@xxxxxxxxx wrote:
I have a site that I want to keep the user logged in after they leave
the site if they check the "Remember Me" box. How do I go about doing
this? Lengthen the session length? Any help would be great.

Thanks,
Nate Baxley

The standard approach is to use a persistent cookie, for example by
setting it to expire in a year's time, then use the token in the
cookie to log the user back in when he comes back.
.



Relevant Pages