ID:               16626
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Apache2 related
 Operating System: RedHat 7.2 (kernel 2.4.18) i386
 PHP Version:      4.2.0
 New Comment:

Just ran into this problem as i was running apache 2 under win2k with
php 4.2.0 installed as apache module. No Cookie seemed to be set
correctly. I solved this problem by running PHP as CGI binary.


Previous Comments:
------------------------------------------------------------------------

[2002-05-03 01:11:05] [EMAIL PROTECTED]

I did fix this problem by modifing "ext/standard/head.c".
The diff is below.
--------------------------------------------------------
124c124
<       return sapi_add_header(cookie, strlen(cookie), 0);
---
>       return sapi_add_header_ex(cookie, strlen(cookie), 0, 0
TSRMLS_CC);
--------------------------------------------------------

PS) This bug should be killed at next version. May be....

------------------------------------------------------------------------

[2002-04-26 16:00:46] [EMAIL PROTECTED]

Yeap I have the same problem ... 

Very interessting is, sometimes works.

For Example: I have written a Bulletin Board, so I can't Login (with
Cookie) my wife have no problem ... I don't know why.

------------------------------------------------------------------------

[2002-04-25 00:44:01] [EMAIL PROTECTED]

I just want to add, that this is a apache 2.0 compatiblity bug, I'm
sure you all tested this out on apache 1.3.24 and it works fine for me.
so I think with the shtml bugs that apache is having this could be
included with that issue.

------------------------------------------------------------------------

[2002-04-24 15:13:00] [EMAIL PROTECTED]

I can confirm that the replacement function for setcookie by
[EMAIL PROTECTED] (send_htCookie) just sets the last cookie in the HTTP
response header on my system

------------------------------------------------------------------------

[2002-04-24 14:13:58] [EMAIL PROTECTED]

I filed bug #16803 to expand on the header() problem.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16626

-- 
Edit this bug report at http://bugs.php.net/?id=16626&edit=1

Reply via email to