RE: [PHP] Remembering users v/ cookies
| From: | SED | Date: | Fri, 11 Apr 2003 15:46:24 +0000 |
| Subject: | RE: [PHP] Remembering users v/ cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143526@lists.php.net to get a copy of this message | ||
Just sign him a session-id number as a cookie that refers to his access.
Regards,
Sumarlidi E. Dadason
SED - Graphic Design
_________________________________
E-mail: sed@sed.is
website: www.sed.is
-----Original Message-----
From: Davíð Örn Jóhannsson [mailto:david@atom.is]
Sent: 11. apríl 2003 15:24
To: php-general@lists.php.net
Subject: [PHP] Remembering users v/ cookies
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