View Full Version : remember me on login

12-21-2006, 02:43 PM
hi my script www.myprofilepic.com runnin dolhpin 5.4
was wondering how i cud add the remember me feature on the login box,so when people close page and open it,they still remain logged in :thumbsup:

12-21-2006, 02:50 PM
may be you need to add sessions...

12-21-2006, 03:08 PM
I think you need cookie's to do what you want to do. When someone logs into the page for the first time, it starts a session. That session creates a cookie if they check the remember me box. Later, when they access that same page, the login script checks if there is a cookie set, and if there is, reads the data from that cookie automatically log in.

Here is an article I googled: