note 24028 deleted from function.setcookie by vincent
| From: | vincent@php.net | Date: | Wed, 10 Sep 2003 18:38:49 +0000 |
| Subject: | note 24028 deleted from function.setcookie by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55968@lists.php.net to get a copy of this message | ||
Note Submitter: kage-chan at users dot sf dot net
----
If you ever have problems deleting a cookie, no matter with which browser, try it like below:
setcookie ('CookieName', '', (time () - 2592000), '/', '',
0);
(Note: all quotation marks are _single_ quotes)
This is the only method that worked for me to delete a cookie. I hope it works fo you too :)