note 8939 added to setcookie
| From: | fil at rezox dot com | Date: | Fri, 06 Oct 2000 18:47:04 +0000 |
| Subject: | note 8939 added to setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6187@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.
http://www.php.net/manual/function.setcookie.php