error/moodle/invalidsesskey: Difference between revisions
From MoodleDocs
Chris Fryer (talk | contribs) (Correct the PHP ini setting name) |
Helen Foster (talk | contribs) (most likely reason, removing very old see also link) |
||
Line 1: | Line 1: | ||
The most likely reason for obtaining an "Invalid Sesskey" message is because your session has timed out i.e. you were inactive for an extended period. Please log in again. | |||
Other possible reasons are: | |||
# Your site doesn't have the PHP setting "session.auto_start=0" (see [[Installing_Moodle#Software|Installing Moodle - software]]) | # Your site doesn't have the PHP setting "session.auto_start=0" (see [[Installing_Moodle#Software|Installing Moodle - software]]) | ||
Line 6: | Line 8: | ||
# Your database has an incorrect value for sessioncookiepath in the mdl_config table. | # Your database has an incorrect value for sessioncookiepath in the mdl_config table. | ||
# You edited the code in a file on the server while logged in to your moodle website. | # You edited the code in a file on the server while logged in to your moodle website. | ||
[[Category:Error|Invalidsesskey]] | [[Category:Error|Invalidsesskey]] | ||
[[es:error/moodle/invalidsesskey]] | [[es:error/moodle/invalidsesskey]] |
Latest revision as of 14:34, 24 May 2017
The most likely reason for obtaining an "Invalid Sesskey" message is because your session has timed out i.e. you were inactive for an extended period. Please log in again.
Other possible reasons are:
- Your site doesn't have the PHP setting "session.auto_start=0" (see Installing Moodle - software)
- You logged out at some time between opening the form and submitting it.
- You have followed a bad link to a form script.
- Your database has an incorrect value for sessioncookiepath in the mdl_config table.
- You edited the code in a file on the server while logged in to your moodle website.