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
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.
On Wed, Jul 13, 2005 at 11:56:50PM +0100, Nidonocu wrote: # 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.
Thanks for the quick reply. Do I need to do an action=purge or anything after this or will it take immediate effect? It appears to not be working.
-Sam
Sam Rowe wrote:
On Wed, Jul 13, 2005 at 11:56:50PM +0100, Nidonocu wrote: # 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.
Thanks for the quick reply. Do I need to do an action=purge or anything after this or will it take immediate effect? It appears to not be working.
-Sam _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Go to your web browser and delete all the cookies linked with your site, then try logging in again. Also can't do any harm to purge and Ctrl+Refresh your browser. But clearing cookies should just make it work.
mediawiki-l@lists.wikimedia.org