Remember my username & password

From: Date: Mon, 19 Mar 2001 19:08:43 +0000
Subject: Remember my username & password
Groups: php.general 
Request: Send a blank email to php-general+get-44617@lists.php.net to get a copy of this message
Hello everyone, I want to build an authentication system like when entering Yahoo!. I.e. each user can sign-up for a username, which has a password. When he enters the site, there's a login box: Username: [textbox] Password: [password textbox] [checkbox] Remember my username & password If he checks the checkbox, then when he next visits the site (let's say the next day), he will be automaticly entered, as the login info will be stored in a cookie. What if the checkbox is unchecked? How can I store the login info temporarily and when he closes the browser (like in an HTTP authentication) the info would be gone? Is the PHP 4 session management the solution to my problem? ................................................................. .. Dimitris Batis ....................... bat_geor@mail.hol.gr .. .. http://www.ravencrypt.com .................................... .. ICQ: 18204204 .................... Yahoo! ID: deggial_wrath .. ................................................................. "The road to truth is long, and lined the entire way with annoying bastards." -- Alexander Jablokov, The place of no shadows

« previous php.general (#44617) next »