Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31907 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73177 invoked by uid 1010); 25 Aug 2007 21:14:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 73162 invoked from network); 25 Aug 2007 21:14:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2007 21:14:10 -0000 X-Host-Fingerprint: 76.97.7.151 unknown Received: from [76.97.7.151] ([76.97.7.151:15013] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/45-14887-1AB90D64 for ; Sat, 25 Aug 2007 17:14:09 -0400 To: internals@lists.php.net,Stanislav Malyshev Message-ID: <46D09B95.1020504@php.net> Date: Sat, 25 Aug 2007 17:13:57 -0400 User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 CC: internals@lists.php.net References: <46D09808.3080006@zend.com> In-Reply-To: <46D09808.3080006@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 76.97.7.151 Subject: Re: [PHP-DEV] [PATCH] Addition of setcookie2() to support RFC 2965 From: ramsey@php.net (Ben Ramsey) On 8/25/07 4:58 PM, Stanislav Malyshev wrote: >> Here is a patch I am submitting as a recommendation to implement a >> setcookie2() function to support the Set-Cookie2 response header >> defined in RFC 2965. > > I think setcookie2 can ve useful, but a function with 13 arguments is a > monster. Especially that you may not use all of them. Maybe it's better > to have them as an array of secondary parameters? Yep. Sara already suggested this to me, so I'm working on a new patch for this. Thanks! -- Ben Ramsey http://benramsey.com/