Last modified: 2006-07-04 04:21:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6504 - Allow configuring session name
Allow configuring session name
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch-reviewed
Depends on:
  Show dependency treegraph
Reported: 2006-06-30 22:19 UTC by Justin Watt
Modified: 2006-07-04 04:21 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

adds ability to specify custom session name with wgSessionName (1.02 KB, patch)
2006-06-30 22:23 UTC, Justin Watt

Description Justin Watt 2006-06-30 22:19:03 UTC
In order to integrate MediaWiki seamlessly with another PHP-based web
applications it would be nice to be able to customize MediaWiki's session
name---so that session information is easily accessible between MediaWiki and
the application it's embedded in.

Currently MediaWiki's session name is based on the database name (and table
prefix if it exists) in Setup.php.

I propose adding a new configuration setting, $wgSessionName, that can be set in
LocalSettings.php to override the default name described above.
Comment 1 Justin Watt 2006-06-30 22:23:08 UTC
Created attachment 2032 [details]
adds ability to specify custom session name with wgSessionName

patches Setup.php and DefaultSettings.php
Comment 2 Rob Church 2006-07-04 04:21:06 UTC
Option added in SVN trunk, r15312.

Note You need to log in before you can comment on or make changes to this bug.