note 36951 added to function.setcookie
| From: | andres at uprm dot edu | Date: | Tue, 28 Oct 2003 14:48:16 +0000 |
| Subject: | note 36951 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59424@lists.php.net to get a copy of this message | ||
When setting a cookie with multiple sub-domains, do not append the leading dot to the domain (set
the domain as "example.com"). This works in Internet Explorer (tested with IE6 in Windows
and IE5 in Mac), Mozilla (tested in 1.5) and Mozilla Firebird (tested in 0.7).
When we appended the dot, we were unable to read cookies from other subdomains.
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36951
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36951&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36951&report=yes
Search -- http://master.php.net/manage/user-notes.php