note 24028 modified in function.setcookie by philip
| From: | philip@php.net | Date: | Tue, 21 Jan 2003 21:42:31 +0000 |
| Subject: | note 24028 modified in function.setcookie by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-42543@lists.php.net to get a copy of this message | ||
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 :)
--was--
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 :)
kage-chan -=- http://www.youngprogrammers.net
http://www.php.net/manual/en/function.setcookie.php