Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi!
Indeed there are many ways you can solve this problem. One of the approaches I used for a site was the following.
Each time the user returns to your site, you check wheter he still has the cookie. If so, you're (fairly) certain the user has come back and continues browsing your site. Logging out can be done by resetting/deleting the cookie (after the user has pressed a `logout' link or automatically after a preset time). Of course this is a very simple approach of remembering users (and might not be sufficient in some cases), but I hope it gives you an idea! Greets, -- JaWi In reply to Re: How to remember who is logged in...
by JaWi
|
|