php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18856 setcookie does set cookie 1, but not cookie 2
Submitted: 2002-08-11 09:47 UTC Modified: 2002-08-11 12:02 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: joesterg at hotmail dot com Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.2.2 OS: Windows 2000 Server
Private report: No CVE-ID: None
 [2002-08-11 09:47 UTC] joesterg at hotmail dot com
Environment:
Windows 2000 Server
Apache 2.39
PHP 4.2.2

Problem:
--
setcookie("x1","value x1");
setcookie("x2","value x2");
--
the code above will only store cookie x1 and the value. Cookie x2 and the value are not stored -that is: cannot be found in the $_COOKIE array.
Was debugging Mantis (http://mantisbt.sourceforge.net) when I encountered this problem.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-11 10:25 UTC] joesterg at hotmail dot com
Just tested this with Apache 1.3.26, where this does not seem to happen. Both cookies are set here...
 [2002-08-11 10:37 UTC] rasmus@php.net
Known problem.  Has been fixed in CVS for some time.  Grab a snapshot from snaps.php.net
 [2002-08-11 12:02 UTC] joesterg at hotmail dot com
Right on - det virker fint nu.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 14:01:30 2024 UTC