ID: 12796
Updated by: cynic
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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


-- 
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