| Cache: $wgPHPSessionHandling | |
|---|---|
Whether to use PHP session handling ($_SESSION and session_*() functions) | 
|
| Introduced in version: | 1.27.0 (Gerrit change 243223; git #Ic1ffea7) | 
| Removed in version: | still in use | 
| Allowed values: | (string) | 
| Default value: | 'enable' | 
| Other settings: Alphabetical | By function | |
Details
Whether to use PHP session handling ($_SESSION and session_*() functions) in {{ll|Manual:SessionManager and AuthManager|SessionManager}}.
Possible values are:
enable- Integrate with PHP's session handling as much as possible.warn- Integrate but log warnings if anything changes $_SESSION.disable- Throw exceptions if PHP session handling is used.
 If $wgPHPSessionHandling is set to an invalid value (e.g. any string not listed above), it will automatically be set to warn.[1]
If the constant MW_NO_SESSION is defined, $wgPHPSessionHandling is forced to 'disable'.
 If the constant MW_NO_SESSION_HANDLER is defined, $wgPHPSessionHandling is ignored and PHP session handling will function independently of SessionHandler.
 SessionHandler and PHP's session handling may attempt to override each others' cookies.
Notes
- ↑ see magic in includes/Setup.php
 
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.