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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: joesterg at hotmail dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Mar 29 12:01:27 2024 UTC