#18780 [Bgs]: setcookie doesn't work fine.

From: Date: Wed, 07 Aug 2002 18:59:12 +0000
Subject: #18780 [Bgs]: setcookie doesn't work fine.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16203@lists.php.net to get a copy of this message
ID: 18780 Updated by: rasmus@php.net Reported By: phpinfo@21cn.com Status: Bogus Bug Type: Apache2 related Operating System: Red Hat Linux 7.3 PHP Version: 4.2.2 New Comment: This is a known bug. Use the cvs versions of both Apache2 and PHP and you will find it works fine. Previous Comments: ------------------------------------------------------------------------ [2002-08-07 14:55:20] phpinfo@21cn.com When i set several cookies,only the last works. For example: <?php setcookie('first','value1'); setcookie('second','value2'); echo $_COOKIE['first']; echo $_COOKIE['second']; ?> After I refresh the page,it only print "value2" but not "value1value2". ------------------------------------------------------------------------ [2002-08-07 09:29:21] kalowsky@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-08-07 08:46:14] hholzgra@php.net please check the database before submitting a bug this has already been reported for apache 2 sapi multiple times ------------------------------------------------------------------------ [2002-08-07 08:33:19] phpinfo@21cn.com When i set several cookies,only the last works. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18780&edit=1

« previous php.bugs (#16203) next »