Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Functions
sessionlib.php File Reference

@subpackage session More...

Functions

 confirm_sesskey ($sesskey=NULL)
 Check the sesskey and return true of false for whether it is valid. More...
 
 cron_setup_user ($user=null, $course=null, $leavepagealone=false)
 Sets up current user and course environment (lang, etc.) in cron. More...
 
 get_moodle_cookie ()
 Gets a moodle cookie with a weakly encrypted username. More...
 
 is_moodle_cookie_secure ()
 Determine wether the secure flag should be set on cookies. More...
 
 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. More...
 
 set_moodle_cookie ($username)
 Sets a moodle cookie with a weakly encrypted username. More...
 

Detailed Description

@subpackage session

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later