Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: error/moodle/invalidsesskey.

error/moodle/invalidsesskey: Difference between revisions

From MoodleDocs
m (category)
(Correct the PHP ini setting name)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Some reasons why you might have got an "Invalid Sesskey" message are:
Some reasons why you might have got an "Invalid Sesskey" message are:


# Your site doesn't have the PHP setting "sessions.autostart=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]])
# You logged out at some time between opening the form and submitting it.
# You logged out at some time between opening the form and submitting it.
# You have followed a bad link to a form script.
# You have followed a bad link to a form script.
# 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.
==See also==
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=105891 incorrect sesskey - occasional failures] forum discussion


[[Category:Error|Invalidsesskey]]
[[Category:Error|Invalidsesskey]]
[[es:error/moodle/invalidsesskey]]

Latest revision as of 18:17, 21 February 2017

Some reasons why you might have got an "Invalid Sesskey" message are:

  1. Your site doesn't have the PHP setting "session.auto_start=0" (see Installing Moodle - software)
  2. You logged out at some time between opening the form and submitting it.
  3. You have followed a bad link to a form script.
  4. Your database has an incorrect value for sessioncookiepath in the mdl_config table.
  5. You edited the code in a file on the server while logged in to your moodle website.

See also