Hello
Several (but not all) users have reported the following issue. When attempting to log in to the website they get and 'invalid session key' error. The page they land on suggests that should try again. When they try again, the same thing happens. It seems they get stuck in a loop.
I have experienced this myself. The strange thing is: when I wanted to log on to this forum to write this very post, I got the same error. After two failed logins I got in.
Some details:
- Different browsers (as user)
- Clearing browser cache (as user)
- Clearing session files on server.
- Ran clean session script on the server
- Your site doesn't have the PHP setting "session.auto_start=0" (see Installing Moodle - software)
As far as I can see, it does. Because it is shared hosting, I have asked my hosting company to verify this.) - You logged out at some time between opening the form and submitting it.
I don't think this applies, as we are talking about logging in. - You have followed a bad link to a form script.
I did see a forum post somewhere about oAuth2 with Google and a link that got too long. Something about maximum length of an argument string.
If this is the problem, I don't see what I can do here. - Your database has an incorrect value for sessioncookiepath in the mdl_config table.
Can anyone point me to an article about this? - You edited the code in a file on the server while logged in to your moodle website
No code was eddited by me.