Re: header() removes all header of the same name.
| From: | Andrea Faulds | Date: | Wed, 19 Oct 2016 12:55:59 +0000 |
| Subject: | Re: header() removes all header of the same name. | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-96480@lists.php.net to get a copy of this message | ||
Hi Yasuo,
I don't think we should do anything about this beyond maybe warning the user in the manual. header() is a generic function for setting headers, it would be surprising if it had different behaviour for cookies or session cookies. It is possible that use of this function in this way may be deliberate.
Thanks.
--
Andrea Faulds
https://ajf.me/