Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVhKp-00068O-QX for pgsql-www@arkaria.postgresql.org; Fri, 26 Apr 2013 12:01:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UVhKp-0002En-6t for pgsql-www@arkaria.postgresql.org; Fri, 26 Apr 2013 12:01:03 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVhKo-0002EC-OO for pgsql-www@postgresql.org; Fri, 26 Apr 2013 12:01:02 +0000 Received: from longis.vm.bytemark.co.uk ([212.110.186.97]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVhKl-0005gW-0Q for pgsql-www@postgresql.org; Fri, 26 Apr 2013 12:01:02 +0000 Received: from [81.168.90.101] (helo=[10.0.0.2]) by longis.vm.bytemark.co.uk with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1UVhKi-00060j-R0 for pgsql-www@postgresql.org; Fri, 26 Apr 2013 13:00:56 +0100 Message-ID: <517A6C78.7000101@xk7.net> Date: Fri, 26 Apr 2013 13:00:56 +0100 From: Paul Waring User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: pgsql-www@postgresql.org Subject: Re: Can we change auto-logout timing on wiki.postgresql.org? References: <5179CD76.6030908@agliodbs.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-www Precedence: bulk Sender: pgsql-www-owner@postgresql.org On 26/04/13 12:40, Magnus Hagander wrote: > On Fri, Apr 26, 2013 at 2:42 AM, Josh Berkus wrote: >> WWW, >> >> wiki.postgresql.org is auto-logging me out after an hour, or less. This >> is irritating when I'm editing a really long wiki page. Could we please >> set it to something like 8 hours? > > AFAICT, this is controlled by the PHP variable session.cache_expire, > which is set to 3 hours already. are you really editing the same page > longer than 3 hours and thus getting kicked off, or may there be > something else at play? Despite its name, session.cache_expire does not affect the expiry of sessions or the cookies associated with them. As far as I can tell from examining the headers, it looks like an expiry date/time is set for the login cookie, but then it is never updated. If this is the case, then eventually the expiry date will pass and the browser will delete the cookie, even if you have been regularly accessing the wiki. Another possibility is that the cronjob which auto-removes session files (assuming files are being used) is set to the default of 24 minutes - which will remove your session after that time regardless of what the cookie's expiry date is set to. -- Paul Waring http://www.pwaring.com -- Sent via pgsql-www mailing list (pgsql-www@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-www