note 50104 rejected from function.setcookie by nlopess
| From: | nlopess@php.net | Date: | Fri, 18 Feb 2005 10:24:23 +0000 |
| Subject: | note 50104 rejected from function.setcookie by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-85203@lists.php.net to get a copy of this message | ||
Note Submitter: argie dot gaynilo at gmail dot com
----
I have a login form, when a user logged in and after being verified, I used the setcookie to store
the value of the username and password to a cookie. When the user log out, I also used the setcookie
clear the user information in that cookie using the setcookie function again. But then, even if I
set the value to "", and try to print the the value of the cookie, i found out that the
value of the cookie is still there. How come this happens?