Manual:SessionManager.php
MediaWiki file: SessionManager.php | |
---|---|
Location: | includes/session/ |
Source code: | master • 1.43.1 • 1.42.6 • 1.39.12 |
Classes: | MediaWiki\Session\SessionManager |
Entry point to the MediaWiki session handling system. See Manual:SessionManager and AuthManager for detailed information.
Implements
Methods
Most methods are intended for internal use by the software. Methods available to other callers include:
- getGlobalSession() - static function for returning the Session, either for PHP's
session_id()
, or else, ifsession_id()
is not set, forRequestContext::getMain()->getRequest()
. - methods of the SessionManagerInterface (see there).