Brian
Many thanks for your reply.
After an afternoon's ferreting around I managed to uncover the cause.
As you quite rightly said, Mediawiki was in fact doing the right thing and
setting the expiration as end of session.
The AuthDrupal extension was the culprit, or more accurately my
configuration of it. The author, Maarten, had advised me to make a change to
the Mediawiki.module file as below.
Exp=0; at end of session
However the Mediawiki.module file exists in two places; /modules (Drupal)
and /wiki/extensions (Mediawiki). I had only changed one of them, hence the
continued problem.
When I log in and out all 4 wikis and Drupal now stay in sync. When I close
the browser all 5 components likewise log me out so all is well.
Thanks again,
Paul
On 8/17/07 9:37 AM, "Brion Vibber" <brion(a)wikimedia.org> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Coghlan wrote:
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.
That is the default behavior.
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.
1) Can you confirm that it's really logged in, and not just showing you
a cached page?
Maybe you're canceling the logged-out marker cookie which keeps the
older pages out of cache?
2) Can you confirm you're not using the 'remember me' checkbox which
makes a persistent login across sessions?
- -- brion vibber (brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFGxaSuwRnhpk1wk44RAiygAJ4/mPP+vNASrCuzDe6PwKVNI2N4AgCdHTL6
RExswVp1IDW0/0Vh+62YT0s=
=h3AA
-----END PGP SIGNATURE-----
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l