Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16932 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13665 invoked by uid 1010); 27 Jun 2005 12:24:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13650 invoked from network); 27 Jun 2005 12:24:55 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 27 Jun 2005 12:24:55 -0000 X-Host-Fingerprint: 212.55.154.23 relay3.ptmail.sapo.pt Linux 2.4/2.6 Received: from ([212.55.154.23:37777] helo=sapo.pt) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 36/1D-00424-510FFB24 for ; Mon, 27 Jun 2005 08:24:54 -0400 Received: (qmail 9083 invoked from network); 27 Jun 2005 12:24:51 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.159) by relay3 with SMTP; 27 Jun 2005 12:24:51 -0000 Received: (qmail 22527 invoked from network); 27 Jun 2005 12:24:51 -0000 X-AntiVirus: PTMail-AV 0.3.85 Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[81.193.184.13]) (envelope-sender ) by mta9 (qmail-ldap-1.03) with SMTP for ; 27 Jun 2005 12:24:51 -0000 Message-ID: <00a301c57b13$373480f0$0100a8c0@pc07653> To: "Ondrej Ivanic" , Cc: "Jochen Hansper" References: <1119816599.7082.37.camel@mframe.test-lab> <42BF0EC0.5050901@kmit.sk> Date: Mon, 27 Jun 2005 13:24:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Subject: Re: [PHP-DEV] httpOnly Cookies [tiny enhancement] From: nlopess@php.net ("Nuno Lopes") > Jochen Hansper wrote: >> The indexed array 'parameters' is expected to be: >> >> array( {int|string} expires [, string path [, domain [, bool secure >> [,bool httponly]]]] ) > > Why not like this? > > array( > 'expires' => ..., > 'path' => ..., > 'domain => ..., > 'secure' => ..., > 'httponly' => ... > ); This was the agreed way. And it makes much more sense, otherwise you would just be emulating the additional parameter. The expire parameter is going to be discontinued and replaced by 'max-age', which makes much more sense (no problems with differences between the server's and client's clock). Nuno