...

View Full Version : remember me on login



TheLethal
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:

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

Crimsonjade
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:
http://www.devshed.com/c/a/PHP/Creating-a-Secure-PHP-Login-Script/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum