[Mediawiki-l] Multiple wikis - dealing with cookies

MHart wiki at matthart.com
Fri Mar 31 21:50:14 UTC 2006


Right below this:

$wgSitename         = "Your Wiki Name";

add the line:

ini_set("session.name", "{$wgSitename}Session");

So that it looks like:

$wgSitename         = "Your Wiki Name";
ini_set("session.name", "{$wgSitename}Session");

I host dozens on the same domain like this - works great. Creates a separate 
session for each wiki, and thus different cookies.

- MHart


----- Original Message ----- 
From: "Sy Ali" <sy1234 at gmail.com>
To: "MediaWiki announcements and site admin list" 
<mediawiki-l at wikimedia.org>
Sent: Friday, March 24, 2006 5:18 PM
Subject: [Mediawiki-l] Multiple wikis - dealing with cookies


> I've got some issues with multiple wikis timing out and forcing
> multiple logins throughout the day.  They're all hosted on the same
> machine in different subdirectories (for various reasons).
>
> I do recall that there is some functionality to tweak how these wikis
> create their cookies.. in theory they could all share the same one.
> I'm not sure where to begin looking for the answers so I thought I'd
> ask.
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l 




More information about the MediaWiki-l mailing list