From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.5
PHP Bug Type:     *Session related
Bug description:  Malformed HTTP response Header

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 Bug report at: http://bugs.php.net/?id=11573&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to