delete cookie does not work
| From: | andy | Date: | Fri, 23 Aug 2002 16:14:52 +0000 |
| Subject: | delete cookie does not work | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-113808@lists.php.net to get a copy of this message | ||
Hi there,
I am having problems to delete a cookie. Assuming following code:
echo 'sess: '.$_COOKIE["referrer"];
#delete cookie
setcookie ('referrer', "", time() - 3600);
It should not display the value of referrer after calling this php file a
second time, right?
So the cookie still exists. How can I get rid of his value?
Thanx, Andy