Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81481 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14792 invoked from network); 31 Jan 2015 11:24:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jan 2015 11:24:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.175 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 74.125.82.175 mail-we0-f175.google.com Received: from [74.125.82.175] ([74.125.82.175:64912] helo=mail-we0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/62-01805-F6BBCC45 for ; Sat, 31 Jan 2015 06:24:32 -0500 Received: by mail-we0-f175.google.com with SMTP id p10so31343166wes.6 for ; Sat, 31 Jan 2015 03:24:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Tgf15Ix+8ylcd4HetHtJmpIyJg/QoHMQMKUiTNjfgM8=; b=jk20VsahMNIKiCYd5he+eOp5U4tnVok6V6LesHe0B7ro+fnZiYrzw9orKGsGoeHZko 3NKOUgkz9qqJ0DdwS3N13n0YRVq6jqyIJ5MKWay6SXMFG/H9rSewfw995iTbtJ3/1iVj biCofxg6BlUcIchaz9BxLmDAsYyhGD73V99gmq4WLiDpvEPQDJc4VIIrlpgu/lG18Vtw vwPhOB2D4YOfpm4s4ekd6/oRszZv225bHKrqwF1WifxGsIVirdykYO6MJsGBUcTuZx7t X3pkpc4FDITTBKIAjSMbrN6ta2FMczSVfh9hDypl24xy7JbopWjHp2KNAYu1Au7WEgVR eu9Q== MIME-Version: 1.0 X-Received: by 10.194.239.72 with SMTP id vq8mr11612745wjc.110.1422703468653; Sat, 31 Jan 2015 03:24:28 -0800 (PST) Received: by 10.216.50.139 with HTTP; Sat, 31 Jan 2015 03:24:28 -0800 (PST) In-Reply-To: <46440117-42C7-40DD-8504-4EE938385050@tobin.nl> References: <46440117-42C7-40DD-8504-4EE938385050@tobin.nl> Date: Sat, 31 Jan 2015 11:24:28 +0000 Message-ID: To: Bas van Beek Cc: Markus Amalthea Magnuson , "internals@lists.php.net" , sas@php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Why does session.gc_maxlifetime default to 1440 seconds? From: leight@gmail.com (Leigh) On 31 January 2015 at 11:12, Bas van Beek wrote: > > Well the number 1440 itself is not so arbitrary as it's the amount of minutes in a day. Maybe that's why the number popped up. > > In the end 24 minutes does seem to be fine for the majority of people and with people that care about session duration it's really easy to update :) > I like the idea of this being a 15+ year old "bug" where minutes were used instead of seconds :) Initial commits don't really give much of a hint to the thinking behind it either it seems. http://svn.php.net/viewvc/archived/php4.fubar/trunk/ext/session/session.c?r1=9519&r2=9520&pathrev=9520& http://svn.php.net/viewvc/archived/php4.fubar/trunk/php.ini-dist?r1=10922&r2=10923&pathrev=10923& /cc sas