errorcode=4 on session expiration

errorcode=4 on session expiration

ved Alexander Kurakin -
Antal besvarelser: 7

Good day!

I have errorcode=4 on session expiration.

Is it normal?

Thanks.

Gennemsnitsbedømmelse: -
I svar til Alexander Kurakin

Re: errorcode=4 on session expiration

ved Howard Miller -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers

Where, exactly, are you seeing errorcode=4?

Can we get a screen shot perhaps?

I svar til Howard Miller

Re: errorcode=4 on session expiration

ved Alexander Kurakin -

http://site.com is HTTP-redirected to http://site.com/face.html?errorcode=4 (where http://site.com/face.html is the alternative login page).

I svar til Alexander Kurakin

Re: errorcode=4 on session expiration

ved Howard Miller -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers

If you are using 'alternateloginurl' (an important point you didn't mention) it's normal, yes. Any error code is added to the redirect

1 = cookies not enabled

2 = invalid username

3 = invalid login

4 = session expired


I svar til Howard Miller

Re: errorcode=4 on session expiration

ved Alexander Kurakin -

Thanks! I looked here...

I svar til Alexander Kurakin

Re: errorcode=4 on session expiration

ved Howard Miller -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
I svar til Howard Miller

Re: Re: errorcode=4 on session expiration

ved T K -
I am facing the same problem on my alternate login URL
Even while the login page is working the link will show https://xxx/dashboard/login.php?errorcode=4

Due to this login has been very slow, it takes up to 4mins to login!

How can i solve this?