note 17363 deleted from function.setcookie by john
| From: | john@php.net | Date: | Sat, 30 Nov 2002 16:26:22 +0000 |
| Subject: | note 17363 deleted from function.setcookie by john | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-40162@lists.php.net to get a copy of this message | ||
About deleting cookies:
I had my homepage hosted on a Windows server and for testing purposes on my own PC (MacOS X). On
both systems 'setcookie ("cookiename");' worked fine to delete my cookies.
Recently, I went to a Linux host and suddenly I wasn't able to load the pages which delete
cookies anymore.
I changed the function to 'setcookie ("cookiename","",time() -
3600,'/',"cookiepath");' and everything worked fine again.
No idea what's the cause. Just wanted to let you know.