note 80969 added to function.session-set-cookie-params
| From: | WilliamLeslie at osu1 dot php dot net | Date: | Fri, 08 Feb 2008 17:31:14 +0000 |
| Subject: | note 80969 added to function.session-set-cookie-params | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135916@lists.php.net to get a copy of this message | ||
"Info at xyzsite dot ru" writes that Internet Explorer does not correctly handle cookies
whose domain contains an underscore character.
However, There's a good reason for this apparently faulty behavior: the underscore character is
forbidden in DNS names. RFC 3696 says:
"The labels ... that make up a domain name must consist of only the ASCII alphabetic and
numeric characters, plus the hyphen. No other symbols or punctuation characters are permitted, nor
is blank space."
If the underscore works in Mozilla or other browsers, it's only because they are being lenient
in the validation of domain names.
----
Server IP: 209.41.74.194
Probable Submitter: 128.83.87.20
----
Manual Page -- http://www.php.net/manual/en/function.session-set-cookie-params.php
Edit -- https://master.php.net/note/edit/80969
Del: integrated -- https://master.php.net/note/delete/80969/integrated
Del: useless -- https://master.php.net/note/delete/80969/useless
Del: bad code -- https://master.php.net/note/delete/80969/bad+code
Del: spam -- https://master.php.net/note/delete/80969/spam
Del: non-english -- https://master.php.net/note/delete/80969/non-english
Del: in docs -- https://master.php.net/note/delete/80969/in+docs
Del: other reasons-- https://master.php.net/note/delete/80969
Reject -- https://master.php.net/note/reject/80969
Search -- https://master.php.net/manage/user-notes.php