|
Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Session handler base. More...
Public Member Functions | |
| init () | |
| Init session handler. | |
| kill_all_sessions () | |
| Kill all active sessions, the core sessions table is purged afterwards. | |
| kill_session ($sid) | |
| Kill one session, the session record is removed afterwards. More... | |
| session_exists ($sid) | |
| Check the backend contains data for this session id. More... | |
| start () | |
| Start the session. More... | |
Session handler base.
|
abstract |
Kill one session, the session record is removed afterwards.
| string | $sid |
Reimplemented in core\session\redis, core\session\memcached, core\session\file, and core\session\database.
|
abstract |
Check the backend contains data for this session id.
Note: this is intended to be called from manager::session_exists() only.
| string | $sid |
| bool | true if session found. |
Reimplemented in core\session\redis, core\session\memcached, core\session\file, and core\session\database.
| core\session\handler::start | ( | ) |
Start the session.
| bool | success |
Reimplemented in core\session\redis, and core\session\memcached.