[Mediawiki-l] Extending login cookie lifetime
brion at pobox.com
Wed Jul 21 19:19:22 UTC 2004
Matias Pelenur wrote:
> I've noticed that the login cookie does not last very long -- usually no more
> than a day. I can see how for security reasons you may not want it to last
> forever, but I'd like to extend its life a bit, maybe to a week or so.
> I noticed that in include/DefaultSettings.php there is a line
> $wgCookieExpiration = 2592000;
> which if it's in seconds would be 30 days. However my login cookie never gets
> set for that long. Any ideas why that may be?
That's for the "save my password" cookie and such.
The login session cookie expires at the end of the browser session.
There may also be a session expiration timeout; check your PHP
configuration about that.
-- brion vibber (brion @ pobox.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20040721/98a91ac4/attachment.pgp
More information about the MediaWiki-l