Bug #16631 Updated: Only one (last?) cookie send to browser
| From: | sniper@php.net | Date: | Fri, 17 May 2002 11:52:26 +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-7920@lists.php.net to get a copy of this message | ||
ID: 16631
Updated by: sniper@php.net
Reported By: herbert@groot.jebbink.nl
-Status: Duplicate
+Status: Closed
Bug Type: Apache2 related
Operating System: Linux 2.2.14
PHP Version: 4.0CVS-2002-04-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-04-17 15:04:52] sander@php.net
Dupe of #16626
------------------------------------------------------------------------
[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