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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8504, the corresponding Phabricator task for complete and up-to-date bug report information.
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.