note 8549 deleted from setcookie by jmcastagnetto

From: Date: Sun, 17 Sep 2000 23:28:36 +0000
Subject: note 8549 deleted from setcookie by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-5146@lists.php.net to get a copy of this message
I just discovered a problem: netscape states in http://developer.netscape.com/docs/manuals/js/client/jsguide/cookies.htm that cookie names may: name=value is a sequence of characters excluding semicolon, comma and white space. To place restricted characters in the name or value, use an encoding method such as URL-style %XX encoding. I tried using setcookie("my.domain.de",...); but I could not read my cookie. reading all cookies, the $HTTP_COOKIE_VAR array showed an entry "my_domain_de". seemes that "." are not allowed. Of course You knew, I didn't.

« previous php.notes (#5146) next »