public inbox for [email protected]  
help / color / mirror / Atom feed
From: Magnus Hagander <[email protected]>
To: Paul Waring <[email protected]>
Cc: PostgreSQL WWW <[email protected]>
Subject: Re: Can we change auto-logout timing on wiki.postgresql.org?
Date: Fri, 26 Apr 2013 14:06:03 +0200
Message-ID: <CABUevEw0asBAR6jS=aqKBG1OAJmTsMP1FiocCm-cLJfqGEAm_w@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<CABUevEymuYyyof68ASuDt9GBpFOvF2r0WNyk8JxK1nbGG70Rpw@mail.gmail.com>
	<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-www>

On Fri, Apr 26, 2013 at 2:00 PM, Paul Waring <[email protected]> wrote:
> On 26/04/13 12:40, Magnus Hagander wrote:
>>
>> On Fri, Apr 26, 2013 at 2:42 AM, Josh Berkus <[email protected]> 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.

I was just looking at the mediawiki wiki at
http://www.mediawiki.org/wiki/Manual_talk:Configuration_settings which
seem to says it does :S

But reading it again, it seems there is a second one, the gc one.

> 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.

We do have session.gc_maxlifetime set to 1440 which is the 24 minutes
you're referring to? So maybe this is the parameter we need to
(drastically) increase?


--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


-- 
Sent via pgsql-www mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-www



view thread (42+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Can we change auto-logout timing on wiki.postgresql.org?
  In-Reply-To: <CABUevEw0asBAR6jS=aqKBG1OAJmTsMP1FiocCm-cLJfqGEAm_w@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox