note 24029 added to function.setcookie
| From: | kage-chan@php.net | Date: | Sun, 04 Aug 2002 17:30:12 +0000 |
| Subject: | note 24029 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-34269@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 :)
kage-chan -=- http://www.youngprogrammers.net
--
http://www.php.net/manual/en/function.setcookie.php
http://master.php.net/manage/user-notes.php?action=edit+24029
http://master.php.net/manage/user-notes.php?action=delete+24029
http://master.php.net/manage/user-notes.php?action=reject+24029