Re: unset($_COOKIE['foo']) and $_COOKIE['foo'] = '' both don't do anything.
| From: | Matt M. | Date: | Wed, 28 Jul 2004 19:32:40 +0000 |
| Subject: | Re: unset($_COOKIE['foo']) and $_COOKIE['foo'] = '' both don't do anything. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192123@lists.php.net to get a copy of this message | ||
> No. I'm trying to delete it from PHP memory, but keep the cookie on their
> client in the cookie.txt file or wherever it's stored.
>
> The idea is for added security. I just don't want traces of it around after
> the initial login.
I am not sure about deleting a superglobal, but even if you do get it
deleted, the cookies can still be retrieved
http://us3.php.net/getallheaders
http://us3.php.net/apache_request_headers