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 ....................... [EMAIL PROTECTED] ..
.. 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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to