Remembering users v/ cookies
| From: | Davíð Örn Jóhannsson | Date: | Fri, 11 Apr 2003 15:24:13 +0000 |
| Subject: | Remembering users v/ cookies | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-143520@lists.php.net to get a copy of this message | ||
I want to have a option on my site that users can check a checkbox that
says Remember me and if the users checks it beforloging onto the Site
I would register a cookie with some values about the user, but Im
conserned about how I should store the info in the cookie.
I want to keep track of the userId, usserName, but I wouldt want to
keep is passwd int the cookie would I? any sugestions on how to make
this so that not any idiot can break into it?
Regards, David