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@gmail.com To: "MediaWiki announcements and site admin list" mediawiki-l@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@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l