php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1793 Cookies behave differently
Submitted: 1999-07-21 08:52 UTC Modified: 1999-07-21 17:18 UTC
From: gustavo at movi dot com dot ar Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Beta 1 OS: Redhat Linux 5.2 intel
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: gustavo at movi dot com dot ar
New email:
PHP Version: OS:

 

 [1999-07-21 08:52 UTC] gustavo at movi dot com dot ar
PHP 4.0b1 compiled inside Apache 1.3.6 + OpenSSL 0.9.3a + mod_ssl 2.3.6-1.3.6
Netscape Communicator 4.61 Professional/Win98

configure --with-apache=../apache_1.3.6 --enable-track-vars --with-mysql=/usr/local/mysql --with-gd=../gd1.3 --with-zlib --with-dbase --with-filepro --with-snmp=/usr --with-bc-math --with-config-file-path=/apache/conf

(apache installed at /apache)

*****
<?
setcookie("cookie_one","john",0,"/");
setcookie("cookie_two","doe",0,"/");
header("Location: start.html");
exit;
?>
*****

Just the second cookie gets set, the first one does a vanishing act.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-21 17:18 UTC] zeev at cvs dot php dot net
This should be fixed in the latest CVS
 [1999-07-21 17:18 UTC] zeev at cvs dot php dot net
This should be fixed in the latest CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 18:01:36 2024 UTC