Manual:SessionManager.php
Appearance
| MediaWiki file: SessionManager.php | |
|---|---|
| Location: | includes/session/ (includes/Session/ in 1.46 or later) |
| Source code: | master • 1.45.1 • 1.44. • 1.39.16 |
| Classes: | MediaWiki\Session\SessionManager |
Entry point to the MediaWiki session handling system. See Manual:SessionManager and AuthManager for detailed information.
Implements
[edit]Methods
[edit]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).