On Nov 8, 2004, at 12:11 AM, Terry Jones wrote:
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?
You can change the cookie name used by PHP's sessions in php.ini, the
Apache configuration, perhaps the .htaccess file, or at runtime. For
instance put something like this in LocalSettings.php:
ini_set("session.name", "{$wgSitename}Session" );
-- brion vibber (brion @
pobox.com)