By gökhan on Wednesday, 12 February 2014
Posted in General
Replies 11
Likes 0
Views 871
Votes 0
When user tries to loggin he is prompted with message invalid token, I have searched for this but couldnt find anything, But i think something about login module? Do you have any idea guys about this?



Note: The picture is asample
Hello,

The only reason that could possibly cause this is the site is cached extensively that the tokens are not replaced. So the question is probably, do you have caching enabled? Try turning it off first and see if you still hit the same issue.
·
Thursday, 13 February 2014 00:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I know, but system cache already disabled. So that is not about system cache.
·
Thursday, 13 February 2014 00:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Please provide the steps to reproduce this and also the access to the site with the FTP.
·
Thursday, 13 February 2014 00:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Alright, i just tried to log in my web site using easysocial login module. And then a message appeared "Invalid Token" on a white page, as you know
·
Thursday, 13 February 2014 00:54
·
0 Likes
·
0 Votes
·
0 Comments
·
When I login using the module on the site, it works and I am logged in.
·
Thursday, 13 February 2014 01:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, This doesnt occures every time, but sometimes. I am not sure what prompts this

I dont understand well

Please take a look at this : http://www.camcloud.com/blog/how-to-solve-invalid-token-error-with-joomla
·
Thursday, 13 February 2014 01:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, are you idling for a long time before logging in? There could be possibility that the token has already expired when you are clicking on the login button.
·
Thursday, 13 February 2014 02:36
·
0 Likes
·
0 Votes
·
0 Comments
·
yeah, that will be a problem for users especially with mobil phones. need to find a solution for this beside on clearing browser cache
·
Thursday, 13 February 2014 02:52
·
0 Likes
·
0 Votes
·
0 Comments
·
There's no way around this unfortunately unless you increase the session life time This is necessary to prevent any XSS attacks.
·
Thursday, 13 February 2014 22:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark,

So, currently, session life time is 60 min. and session handler is database. There is also "none" option. What is the best settings for this. I think you have an idea about this, because you are an awasome developer;)
·
Thursday, 13 February 2014 23:41
·
0 Likes
·
0 Votes
·
0 Comments
·
60 minutes is good enough I think? This allows users to idle for 59 minutes before hitting this error.
·
Friday, 14 February 2014 02:36
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post