It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Remembering Password?

Remembering Password?

Postby mcbc on Tue Jul 01, 2008 11:47 pm

How would you get a website to remember your password, so that you do not have to login every time you go back to page. Any help would be nice. Thanks!
mcbc
 
Posts: 14
Joined: Wed May 21, 2008 3:22 pm

Postby mcbc on Thu Jul 03, 2008 12:29 pm

Is there a cookie that would enable this to happen?
mcbc
 
Posts: 14
Joined: Wed May 21, 2008 3:22 pm

Postby flabbyrabbit on Thu Jul 03, 2008 1:05 pm

Well the simple way to do it is when the user clicks login and the code checks the details and other stuff, you need to add a short bit of code that sets a cookie with that users information. Then on say your index page check the cookies to see if the users details have been saved and login them if they are not already.

Flabby Rabbit
Image
User avatar
flabbyrabbit
500+ Club
 
Posts: 706
Joined: Thu Jan 25, 2007 1:10 pm
Location: Midlands, England

Postby mcbc on Thu Jul 03, 2008 2:32 pm

ok, thanks for the help!
mcbc
 
Posts: 14
Joined: Wed May 21, 2008 3:22 pm

Postby mcbc on Mon Jul 07, 2008 12:30 pm

mcbc
 
Posts: 14
Joined: Wed May 21, 2008 3:22 pm


Who is online

Users browsing this forum: No registered users and 8 guests