topflight Posted June 15, 2010 Share Posted June 15, 2010 I am currently using sessions, and I would like to create a remember me function in my login.php file so when the user logout it will destroy/unset the session, however when they return to the site their login info will automatically be in the box. I know you have to use session may some please give me an example with a form and php code thanks. Quote Link to comment Share on other sites More sharing options...
DavidAM Posted June 15, 2010 Share Posted June 15, 2010 To do the Remember Me, you have to use COOKIEs. Store the user's login name in a cookie, and have the script check for the cookie before presenting the form. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.