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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2022 The PHP Group
All rights reserved.
Last updated: Mon Nov 28 10:05:54 2022 UTC