note 11600 added to setcookie
| From: | jan at aagaard dot net | Date: | Tue, 27 Feb 2001 01:32:11 +0000 |
| Subject: | note 11600 added to setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11624@lists.php.net to get a copy of this message | ||
There's something about the domain part of Netscape's cookie specification that I
can't agree with: How can it be mandatory to specify a domain with three periods if it's
not one of the seven special toplevel domains?
What domain would I specify if I wanted a global cookie to yahoo.dk? I could use www.yahoo.dk, but
that would leave out sites like mail.yahoo.dk, and there's still only two period in the domain.
Is there something wrong with Netscape's specifications, or am I reading the specs wrong? (And
how does PHP handle the problem?)
http://dk.php.net/manual/en/function.setcookie.php