Re: Can we change auto-logout timing on wiki.postgresql.org?

From: Paul Waring <paul(at)xk7(dot)net>
To: pgsql-www(at)postgresql(dot)org
Subject: Re: Can we change auto-logout timing on wiki.postgresql.org?
Date: 2013-04-26 12:00:56
Message-ID: 517A6C78.7000101@xk7.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On 26/04/13 12:40, Magnus Hagander wrote:
> On Fri, Apr 26, 2013 at 2:42 AM, Josh Berkus <josh(at)agliodbs(dot)com> 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

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2013-04-26 12:06:03 Re: Can we change auto-logout timing on wiki.postgresql.org?
Previous Message Thom Brown 2013-04-26 11:54:44 Re: [NOVICE] How to Recover iPhone Contacts You Lost Somehow?