Bug #16631 Updated: Only one (last?) cookie send to browser
| From: | sander@php.net | Date: | Wed, 17 Apr 2002 19:04:53 +0000 |
| Subject: | Bug #16631 Updated: Only one (last?) cookie send to browser | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5219@lists.php.net to get a copy of this message | ||
ID: 16631
Updated by: sander@php.net
Reported By: herbert@groot.jebbink.nl
-Status: Open
+Status: Duplicate
Bug Type: Apache2 related
Operating System: Linux 2.2.14
-PHP Version: 4.0CVS-2002-04-16
+PHP Version: 4.0CVS-2002-04-1
New Comment:
Dupe of #16626
Previous Comments:
------------------------------------------------------------------------
[2002-04-16 06:56:10] herbert@groot.jebbink.nl
Test php script.
<?php
setcookie('abc', 'abc', time() + (60 * 60 * 24 * 365), '/');
setcookie('xyz', 'xyz', time() + (60 * 60 * 24 * 365), '/');
echo "Hallo World \n\n";
?>
Respons with Apache 2.0.35 / PHP 4.2.0 RC4
HTTP/1.1 200 OK
Date: Tue, 16 Apr 2002 09:45:03 GMT
Server: Apache/2.0.35 (Unix) PHP/4.2.0RC4
Accept-Ranges: bytes
X-Powered-By: PHP/4.2.0RC4
Set-Cookie: xyz=xyz; expires=Wed, 16-Apr-03 09:45:04 GMT; path=/
Connection: close
Content-Type: text/html
X-Pad: avoid browser bug
Respons with Apache 1.3.22 en PHP 4.0.6
HTTP/1.1 200 OK
Date: Tue, 16 Apr 2002 09:49:55 GMT
Server: Apache/1.3.22 (Unix) PHP/4.0.6 mod_ssl/2.8.5
OpenSSL/0.9.6b
X-Powered-By: PHP/4.0.6
Set-Cookie: abc=abc; expires=Wed, 16-Apr-03 09:49:56 GMT; path=/
Set-Cookie: xyz=xyz; expires=Wed, 16-Apr-03 09:49:56 GMT; path=/
Connection: close
Content-Type: text/html
Greetings, Herbert
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16631&edit=1