ID:               34431
 User updated by:  brian at risible dot org
 Reported By:      brian at risible dot org
 Status:           Open
 Bug Type:         Apache2 related
 Operating System: FreeBSD 5.4
 PHP Version:      5.0.5
 New Comment:

Sorry.  I got the expected & actual fields the wrong way round.


Previous Comments:
------------------------------------------------------------------------

[2005-09-08 18:04:38] brian at risible dot org

Description:
------------
Using the latest FreeBSD ports of Apache2 (2.0.53) and PHP (5.0.5), the
exact same bug as described in bug #16626 appears, where only the last
cookie sent will be set.

Reproduce code:
---------------
<?php
header("Set-Cookie: cookieone=a");
header("Set-Cookie: cookietwo=b");
header("Set-Cookie: cookiethree=c");
?>


Expected result:
----------------
Server: Apache/2.0.53 (FreeBSD) PHP/5.0.5
X-Powered-By: PHP/5.0.5
Set-Cookie: cookiethree=c
Content-Length: 4
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html

200 OK

Actual result:
--------------
Server: Apache/2.0.53 (FreeBSD) PHP/5.0.5
X-Powered-By: PHP/5.0.5
Set-Cookie: cookieone=a
Set-Cookie: cookietwo=b
Set-Cookie: cookiethree=c
Content-Length: 4
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html

200 OK


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34431&edit=1

Reply via email to