ID: 11573
Updated by: andy
Reported By: jerome.delamarche@free.fr
Old Status: Feedback
Status: Closed
Bug Type: Session related
Operating System: Linux
PHP Version: 4.0.5
New Comment:
no feedback
Previous Comments:
------------------------------------------------------------------------
[2001-06-20 12:04:09] sniper@php.net
Which broswser and what version of it?
Please include a short but complete not working script into
this report.
--Jani
------------------------------------------------------------------------
[2001-06-20 05:04:48] jerome.delamarche@free.fr
I'm using the session*() functions and test them with a browser which refuses cookies. So I add
"PHPSESSID=....." as a parameter of the requested url.
For example, I call "qcmcreate.php?parm1=xxx&parm2=yyy&PHPSESSID=zzzzzzzzz". I
noticed that the HTTP header returned by my script contain an extra line that confuses my client.
The end of the HTTP header looks like:
Content-Type: test/html
\r\n
\r\n
xxx
\r\n
\r\n
(\r\n means a "blank and empty line")
What's wrong here are the "xxx\r\n\r\n" lines. Where "xxx" is up to 3
characters. These 3 lines make my client misinterpret the server response.
If I make my browser accept cookies, the problem disappears.
To make sure I did not echo anything, the 1st instruction of my "qcmcreate.php" script is
"die;"
What's wrong ?
Thank you,
Jerome
Pl
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11573&edit=1