|
Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
@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