View Full Version : remember me on login
12-21-2006, 03: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:
may be you need to add sessions...
12-21-2006, 04: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:
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.