note 51581 deleted from function.setcookie by betz

From: Date: Tue, 05 Apr 2005 07:41:29 +0000
Subject: note 51581 deleted from function.setcookie by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-87478@lists.php.net to get a copy of this message
Note Submitter: remigius AT NOSPAM netforge DOT nl Reason: useless ---- As noted in the reactions below there are some characters that WILL break your cookie when used in a name for a value. In PHP 4.3.8 a period (.) will cause the cookie value to be ignored. When your cookie fails for no apparent reason, try changing the names of the cookie values you store to alphabethic characters only. Hope this saves someone the time I spent on debugging this. I was just thinking that this problem MIGHT be related to the fact that we're using UTF-8 as internal encoding for PHP. Could anyone comment on this?

« previous php.notes (#87478) next »