[Mediawiki-l] Conflicting PHPSESSID cookies when accessing two wikis on the same site

Terry Jones tc.jones at jones.tc
Mon Nov 8 08:11:20 UTC 2004


Hi.

I've looked for an answer to this in the FAQ and also in the archives
of the mailing list.

I run a mediawiki wiki, and allow my browser to accept cookies that
store my wiki user name and password. This works fine. However, I
recently added a second wiki on the same server and now find that
every time I switch from looking at one wiki to another I have to
re-login to each wiki.

I had a quick look at my browser's cookies and it seems like the right
thing is being done for the name and password cookies (these both
contain the wiki name, making them wiki specific). But there is a
single PHPSESSID cookie which I guess is the culprit. I.e., if I look
at wiki A and then go to wiki B and log in, I get a new PHPSESSID
cookie. This, I am guessing, is then invalid when I return to wiki A.

Is that likely to be what's causing my problem? If so, what can I do
about it?

Thanks,
Terry.



More information about the MediaWiki-l mailing list