Bug #17640 Updated: Cookies not being set right...

From: Date: Fri, 07 Jun 2002 14:02:07 +0000
Subject: Bug #17640 Updated: Cookies not being set right...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9752@lists.php.net to get a copy of this message
ID: 17640 Updated by: sniper@php.net Reported By: administrator@plipp.net -Status: Open +Status: Closed Bug Type: Session related Operating System: Linux Redhat 7.3 PHP Version: 4.2.1 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-06-07 08:07:52] administrator@plipp.net When setting 2 or more cookies after on other, only the last one of those cookies really get set... ex -> setcookie("cookie1","cookie1"); setcookie("cookie2","cookie2"); setcookie("cookie3","cookie3"); <- only this one gets set echo "$_COOKIE["cookie1"] :: $_COOKIE["cookie2"] :: $_COOKIE["cookie3"]"; would return: :: :: cookie3 I use Redhat linux 7.3, PHP 4.2.1 and Apache 2.0.36... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17640&edit=1

« previous php.bugs (#9752) next »