Session Cookie - C0D3D3V/Moodle-DL GitHub Wiki

Usually the session cookie for Moodle is usually called MoodleSession but there are also variations of it e.g. MoodleSessionrumdl.

To get to the cookie some steps are necessary. At the beginning there is the call of the interface tool_mobile_get_autologin_key. This makes it possible to generate a link that automatically logs the user in, thus generating a session cookie. In any case the private token and the web service token are necessary to create a link. The created link can only be used once, and only one link can be created every 6 minutes.

Area Name Introduced in Description
tool_mobile tool_mobile_get_autologin_key 3.2 (2016120500) Creates an auto-login key for the current user. Is created only in https sites and is restricted by time and ip address.

tool_mobile_get_autologin_key

Parameter
Funktion
Returns