Date: 06/20/01
- Next message: derick <email protected>: "[PHP-DEV] Bug #11557 Updated: session,functions"
- Previous message: mad <email protected>: "[PHP-DEV] Bug #11559 Updated: charset optional argument doesn't work with sybase_[p]connect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: jerome.delamarche <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: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: derick <email protected>: "[PHP-DEV] Bug #11557 Updated: session,functions"
- Previous message: mad <email protected>: "[PHP-DEV] Bug #11559 Updated: charset optional argument doesn't work with sybase_[p]connect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

