Last modified: 2010-05-15 15:37:37 UTC
When you have session.auto_start=true in php.ini and you login to MediaWiki it assigns new name to session cookie, but PHP can't change the default one (http://pl.php.net/manual/en/function.session-name.php#42747). Despite of that, when later MediaWiki asks for session cookie name by session_name() method, it returns the new (not the assigned) one. It's also a PHP bug imho (it should return the really used name).
Created attachment 1073 [details] patch against 1.5.2 this patch adds a if() statement to check if MediaWiki can change the session cookie name.
Applied on CVS HEAD.
*** Bug 5251 has been marked as a duplicate of this bug. ***
In 1.5.7, you can instead replace line 128 of Setup.php with this: if (!ini_get('session.auto_start')) { // Added in case sessions auto start in PHP session_name( $wgCookiePrefix . '_session' ); }