• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

I can not login to my account for long time?

#1
I have set up xF. When a user log in to the page, it shows log in for that page but when s/he visit to next page it doesn't show log in.

Is this a bug?

Thanks for suggestion in advance.
 

Brogan

XenForo moderator
Staff member
#2
I'm not quite sure I understand the problem.

Is the user being logged out when navigating to another page?
Are they blocking cookies in their browser?
 
#3
Cookies has not been blocked, I checked with two different computer.

Sometime its very difficult to log in for e.g. it doesn't show incorrect user or pw, it keeps displaying log in page and if it get log in when navigating to another page, it doesn't display the user i.e. user is not seen log in.
 

Dean

Well-known member
#4
Someone logs into your forum, it shows them logged in, then when they go to another page on your forum they are no longer logged in?
 

Brogan

XenForo moderator
Staff member
#5
It's not even possible to log in unless the "Stay logged in" checkbox is selected - I had a look at it earlier, as did Kier.

Seems to be a server issue so the OP has gone back to the host to see what they can do about it.
 

Dean

Well-known member
#6
It's not even possible to log in unless the "Stay logged in" checkbox is selected - I had a look at it earlier, as did Kier.
I just logged out on xf.com, then logged back in without the Stay logged in checked.. worked for me.

?
 

Jake Bunce

XenForo moderator
Staff member
#9

Brogan

XenForo moderator
Staff member
#10
Mike has managed to resolve this.

The server was behind several proxies which caused the reported client IP to change on every page view.
This invalidates the session, for security.

Mike added code to work around this to config.php.
 
#11
Thanks Borgan, and thanks to Mike and entire team who were so energetic to help me out.

I am proud to say that I did the best decision to have xenForo, and you all have proved it out by working so hard to fix this issue.


Thank you all.