Sam Rowe wrote:
Hi,
I upgraded one of our intranet's Mediwikis from 1.3.9 to 1.4.6 tonight and now I can't stay logged into to it and another Mediawiki on the same host at the same time.
To try to make that more clear, We have:
and
and we used to be able to be logged into both of them (provided that usernames and passwords were the same!) at the same time. Now we can't. Any idea what changed or how we can fix it?
Thanks, Sam _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
You need to give your cookies paths to link themselves to rather than the domain or they will keep overwriting each other.
Open the Local Settings.php of both wiki's and add the following line:
$wgCookiePath = "/subfolder";
With subfolder being name of the folder that contains that wiki.
This will now generate two unique cookies for each site. So it is now possible to login with different names and passwords for each wiki at the same time too.