note 29317 deleted from function.setcookie by vincent

From: Date: Wed, 10 Sep 2003 18:43:12 +0000
Subject: note 29317 deleted from function.setcookie by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-55976@lists.php.net to get a copy of this message
Note Submitter: mikezivin@yahoo.com ---- When developing web applications on your local machine and using "localhost" as your domain, cookies will not be set correctly using IE6 (maybe other IEs as well) if you specify "localhost" as your domain when using setCookie(). If you read the Netscape spec, there is a note: "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 within one of the seven special top level domains listed below only require two periods. Any other domain requires at least three."

« previous php.notes (#55976) next »