[PHP-DEV] Bug #1111 Updated: Set-Cookie not working in IE From: Bug Database (php-dev <email protected>)
Date: 02/02/99

ID: 1111
Updated by: rasmus
Reported By: cary <email protected>
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:

You are making it sound as if IE never sets a cookie if the Content-Type header is sent last. That is simply not true. Point your browser at www.lerdorf.on.ca/c.php3 for example and then go to www.lerdorf.on.ca/info.php3. You will see that two cookies were set; test[0] and test[1]. And if you telnet to the server (use a Host header) you will see that the content-type line is sent last.

The order of the headers is not specified by PHP in the Apache module version. All PHP does is fill in a table of headers. Apache decides which order they should be sent in. And as per the HTTP spec, the order is supposed to be irrelevant.

Full Bug description available at: http://ca.php.net/bugs.php3?id=1111

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>