Moodle APIs 4.0
Moodle 4.0.11 (Build: 20231009)
|
@subpackage session More...
Functions | |
confirm_sesskey ($sesskey=NULL) | |
Check the sesskey and return true of false for whether it is valid. | |
cron_setup_user ($user=null, $course=null, $leavepagealone=false) | |
Sets up current user and course environment (lang, etc.) in cron. | |
get_moodle_cookie () | |
Gets a moodle cookie with a weakly encrypted username. | |
is_moodle_cookie_secure () | |
Determine wether the secure flag should be set on cookies. | |
require_sesskey () | |
Check the session key using confirm_sesskey(), and cause a fatal error if it does not match. | |
sesskey () | |
Makes sure that $USER->sesskey exists, if $USER itself exists. | |
set_moodle_cookie ($username) | |
Sets a moodle cookie with a weakly encrypted username. | |
@subpackage session