note 49350 added to function.setcookie

From: Date: Tue, 25 Jan 2005 06:18:53 +0000
Subject: note 49350 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-83914@lists.php.net to get a copy of this message
The "bug" that prevents cookies from working properly with Windows XP and Internet Explorer 6 seems to be a more strict following of the cookie specifications. This part in particular: Only hosts within the specified domain can set a cookie for a domain and domains must have at least two (2) or three (3) periods in them to prevent domains of the form: ".com", ".edu", and "va.us". Any domain that fails [sic] within one of the seven special top level domains listed below only require two periods. Any other domain requires at least three. The seven special top level domains are: "COM", "EDU", "NET", "ORG", "GOV", "MIL", and "INT". localhost should not work. Neither should localhost.localdomain. Though, it may be a bug that 127.0.0.1 does not work, even despit the fact that 127.0.0.1 is not a domain name. ---- Manual Page -- http://www.php.net/manual/en/function.setcookie.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49350 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49350&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49350&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49350&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49350&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49350&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49350&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#83914) next »