note 23540 deleted from function.setcookie by sniper

From: Date: Wed, 11 Dec 2002 07:16:09 +0000
Subject: note 23540 deleted from function.setcookie by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40723@lists.php.net to get a copy of this message
setcookie("login[username]",$_POST['username']); setcookie("login[session]",$token); On a linux apache2 host, this sets two cookie parts, as desired. On a windows apache2 host, it sets login[session] ONLY. Apparently, the latter cookie overwrites the former in this situation.

« previous php.notes (#40723) next »