[Mediawiki-l] Timeout after one hour when editing an article with non-permanent login [8411]

Brion Vibber brion at pobox.com
Sun Dec 10 08:24:51 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adam Nielsen wrote:
>> but in my php.ini there are only timeouts set in seconds and noting
>> above 90 seconds. Also in the apache-confs there is nothing to find
>> about this.
> 
> I've gone overnight with editing and haven't been logged out, so it's
> definitely possible.  In my php.ini there's an option called
> "session.cookie_lifetime" which apparently means "until the browser is
> restarted."  Maybe that's it?  (Assuming cookies are working for your
> sessions and it's not falling back to another method that times out
> sooner.)

The session may expire earlier than the cookie; the server has no way of
knowing when the browser leaves.

Note that if you log in with the 'remember my login' option checked, the
session is automatically reopened should it expire, until up to 30 days
later.

> Either way if you've been away for a while just open another link (like
> the main page) in a new window/tab - log in there if required, and then
> go back and save your changes in the original window/tab.

Personally, I pull out the 'preview' button for this sort of case. Once
you're sure the session is reestablished, you can click 'save' in
confidence. :)

- -- brion vibber (brion @ pobox.com)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFe8RTwRnhpk1wk44RAnsSAJ4kc9/s3xM2gYA1CVi7CY3wJnKH6wCdELlt
dPuC3F3ZODowRdDeA1T19cc=
=WhsT
-----END PGP SIGNATURE-----



More information about the MediaWiki-l mailing list