Bug #12796 Updated: Incorrect handling of header sending
| From: | cynic@php.net | Date: | Thu, 16 Aug 2001 16:55:37 +0000 |
| Subject: | Bug #12796 Updated: Incorrect handling of header sending | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63447@lists.php.net to get a copy of this message | ||
ID: 12796
Updated by: cynic
Reported By: aldem-php@aldem.net
Old Status: Open
Status: Duplicate
Bug Type: Other web server
Operating System: All
PHP Version: 4.0.6
New Comment:
http://www.php.net/bugs.php?id=5653
adding your info to the mentioned PR, I'll mark this one as duplicate.
Previous Comments:
------------------------------------------------------------------------
[2001-08-16 12:24:36] aldem-php@aldem.net
There is small problem in Roxen's SAPI, which arises when duplicate headers are sent out. While
playing with some PHP apps with Roxen, I found that regardless how many cookies are set in PHP code,
only one is sent to the browser.
Investigation shows that Roxen's SAPI uses Pike's type "mapping" to send
headers, which (of course) doesn't allow duplicate headers (in my case "Set-Cookie")
to be sent, i.e. only last one is sent, since subsequesnt calls to set header with the same name
will replace previous.
Proposed solution: use array instead of mapping. It will require changes in Roxen module as well, of
course, but this should not be difficult.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12796&edit=1