Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVhPr-0006XK-Bj for pgsql-www@arkaria.postgresql.org; Fri, 26 Apr 2013 12:06:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UVhPq-0002Z7-SV for pgsql-www@arkaria.postgresql.org; Fri, 26 Apr 2013 12:06:14 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVhPq-0002Z2-Bu for pgsql-www@postgresql.org; Fri, 26 Apr 2013 12:06:14 +0000 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVhPg-0005lH-NF for pgsql-www@postgresql.org; Fri, 26 Apr 2013 12:06:13 +0000 Received: by mail-wi0-f170.google.com with SMTP id l13so606619wie.5 for ; Fri, 26 Apr 2013 05:06:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=zDum4E8zVEw0d2G5YmTQwcNAlYdaxAzPfuQl42ssjzw=; b=bCVe2YZ+/UMB7LfxbXg7IkdJz7VfUwrgU0qZDU35MAiWYRlw+oEFiwqQtvGGjQ2EGj 3GvgFjkwjCdiqDPC3H5iva1um1dcLhGCzgsAZ0ju320JDa0Te824iYSMC0T3AsSOzUcN OH1ZZjBzESRIf1tCcs+Apo+Gy9ZFXurKYlPrlIeNqL6YSgn9Sm3t+7ZzA1j5K3veCArs FRCK31Z2dpVr9Mx9yuwrQ5qNX9/EOQFPQGYvEWEuFa++Jh+3EBBmJVmGyjXjtF6C3hWQ 1PUQDRHyrpP5cEysNdrdtDSHmCOXAzTF/im/dvRxO5Bo9yG+4LNAtBQZohDH3VJRgcKH Vb2g== MIME-Version: 1.0 X-Received: by 10.194.109.227 with SMTP id hv3mr17603926wjb.32.1366977963097; Fri, 26 Apr 2013 05:06:03 -0700 (PDT) Received: by 10.194.60.37 with HTTP; Fri, 26 Apr 2013 05:06:03 -0700 (PDT) In-Reply-To: <517A6C78.7000101@xk7.net> References: <5179CD76.6030908@agliodbs.com> <517A6C78.7000101@xk7.net> Date: Fri, 26 Apr 2013 14:06:03 +0200 Message-ID: Subject: Re: Can we change auto-logout timing on wiki.postgresql.org? From: Magnus Hagander To: Paul Waring Cc: PostgreSQL WWW Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlN5sYcMqnaQNlR1Fp1sNp45X65IFVGBw9bo8IFGMS+KwEGgmiRa5DO4HWbYEmNO1DPCYCR 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 Fri, Apr 26, 2013 at 2:00 PM, Paul Waring wrote: > 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. 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 (pgsql-www@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-www