[Mediawiki-l] Session based cookies, one more try

Paul Coghlan pcoghlan at usa.net
Fri Aug 17 02:59:47 UTC 2007


I am still struggling with getting Mediawiki to set its cookies that impact
login to have an expiration at the end of the current session.

At the suggestion of Maarte, the author of AuthDrupal, I tried the following
solutions in LocalSettings.php but to no avail.

$wgCookieExpiration = 0;

ini_set("session.cookie_lifetime", "0");

In each case Mediawiki has me logged in when I re-open the browser.

This is starting to become a bigger issue as I creep to launch so if anyone
can help it would be much appreciated.

Even if there is a hack into a specific file that would hard code the change
this would be fine.

Many thanks,

More information about the MediaWiki-l mailing list