Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66515 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89479 invoked from network); 7 Mar 2013 08:37:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2013 08:37:28 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 173.203.6.131 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 173.203.6.131 smtp131.ord.emailsrvr.com Linux 2.6 Received: from [173.203.6.131] ([173.203.6.131:34577] helo=smtp131.ord.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3A/50-20037-7C158315 for ; Thu, 07 Mar 2013 03:37:28 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp25.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id 479793F00BA; Thu, 7 Mar 2013 03:37:25 -0500 (EST) X-Virus-Scanned: OK Received: by smtp25.relay.ord1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id E8D8E3F00AA; Thu, 7 Mar 2013 03:37:24 -0500 (EST) Message-ID: <513851C3.4030509@sugarcrm.com> Date: Thu, 07 Mar 2013 00:37:23 -0800 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 MIME-Version: 1.0 To: Nikita Nefedov CC: "internals@lists.php.net" References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Should sessions override user sent headers? From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > so I stumbled upon this bug report: https://bugs.php.net/bug.php?id=64357 > > It's fairly easily fixable, but I don't know if it's even a bug... The Well, the result in the bug is obviously wrong - it should have one date, or another date, but not both! I'd say if you explicitly set the Expires, it should override the session one. In general, later one should override previous one. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227