Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96480 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52772 invoked from network); 19 Oct 2016 12:56:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Oct 2016 12:56:06 -0000 X-Host-Fingerprint: 176.248.3.153 unknown Received: from [176.248.3.153] ([176.248.3.153:16202] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/76-14749-36D67085 for ; Wed, 19 Oct 2016 08:56:06 -0400 Message-ID: <99.76.14749.36D67085@pb1.pair.com> To: internals@lists.php.net References: Date: Wed, 19 Oct 2016 13:55:59 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 176.248.3.153 Subject: Re: header() removes all header of the same name. From: ajf@ajf.me (Andrea Faulds) 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/