Bug #17663 Updated: setcookie only sets last of multiple cookies

From: Date: Fri, 28 Jun 2002 05:26:21 +0000
Subject: Bug #17663 Updated: setcookie only sets last of multiple cookies
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12306@lists.php.net to get a copy of this message
ID: 17663 Updated by: derick@php.net Reported By: craig@bioware.com Status: Closed Bug Type: Apache2 related Operating System: RedHat 7.2 PHP Version: 4.0CVS-2002-06-09 New Comment: [2002-06-20 18:47:50] sniper@php.net http://snaps.php.net/php4-latest.tar.gz fixes this. it doesn't say stable here, only fixed in the 4.3.0dev version. Derick Previous Comments: ------------------------------------------------------------------------ [2002-06-28 01:24:28] jtrusty@kiva.net Running apache 2.0.39 with php 4.2.2-dev (latest stable) compiled as module on winnt. Experiencing the same problem. Php refuses to set multiple cookies. If setting more than a single cookie in a row, only the last cookie gets set (if you're lucky). Is a fix for this on the way? ------------------------------------------------------------------------ [2002-06-24 06:35:37] red@tripany.com yup, php4-200206240000 worked, but now without yp support... next bug Cheers Robin ------------------------------------------------------------------------ [2002-06-20 18:47:50] sniper@php.net http://snaps.php.net/php4-latest.tar.gz fixes this. ------------------------------------------------------------------------ [2002-06-20 11:47:16] red@tripany.com The guys at apache maintain it's a php problem, something with HEAD or so (see apache bug # 10061) so I'm back here now... Grtz Robin Edgar ------------------------------------------------------------------------ [2002-06-20 11:45:09] red@tripany.com Well after extensive testing, I have to conclude it's probably not a php (alone) problem. I have tried: PHP ver. Apache ver. --enable-so works? error --------------------------------------------------------- 4.2.1 2.0.39 yes no yes 2.1 36 yes yes no 2.0 39 yes no yes 2.0 36 no no yes 2.0 36 yes yes no 4.0.3pl1 1.3.9 ? yes ? (4.0.3pl1 is the standard debian package) The rest of the 2.1 installations (with apache 39) don't work and give errors, so there's some problem with the apxs interaction between php and httpd 2.0.39. As php2.1.0 works with httpd 2.0.36 I'm now assuming there was a change in the apxs of apache in the security fix version which renders the multiple cookies unwriteable. I'll send this off to apache as well. Cheers Robin ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17663 -- Edit this bug report at http://bugs.php.net/?id=17663&edit=1

« previous php.bugs (#12306) next »