note 8939 deleted from function.setcookie by sniper
| From: | sniper@php.net | Date: | Wed, 11 Dec 2002 07:14:00 +0000 |
| Subject: | note 8939 deleted from function.setcookie by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-40713@lists.php.net to get a copy of this message | ||
[RezoX builds dynamic streaming channels]
WATCH YOUR COOKIE DOMAINS. I wasted 7 hours due to this problem: I set a cookie in the path
scripts.something.com. Then I tried to clear the cookie by reseting .something.com to
'invalid'. In IE, if a subdomain cookie is set, it takes precedence over the domain cookie
(ie if the cookie testcookie in the scripts.something.com was set, it would override the cookie
testcookie for the domain .something.com )! I had to manually clear the cookies from the cache to
realize this problem.