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

XF 1.1 A few users getting logged out

karll

Well-known member
#1
I decided to make a new thread, although I know there are already a couple on this topic.

Most of my users don't have any such problems, but 3 users have said they sometimes get logged out, and it's not due to inactivity as they have the "stay logged in" option ticked. They use a variety of browsers. (Recent version of Firefox, old version of IE, Opera etc).

From Jake's post in the other thread on this topic:
3) Your server is behind a proxy that is messing up reporting of the client IP address. You can visit this page in your Admin CP to check the IP reporting:

admin.php?tools/phpinfo

Search the page for "REMOTE_ADDR". It should show your correct external IP address. If the IP is incorrect or it changes between requests then you will have login problems. This kind of problem means everyone on your forum will be affected.
Although the server isn't behind a proxy, I've noticed that two of the users who reported the problem are connecting through proxies. The third user has dynamic IP assignment. Could these kinds of connections cause this problem?

None of the other possible causes mentioned by Jake in the post above (1, 2, 4) seem to be present in my configuration.
 

Jake Bunce

XenForo moderator
Staff member
#2
Although the server isn't behind a proxy, I've noticed that two of the users who reported the problem are connecting through proxies. The third user has dynamic IP assignment. Could these kinds of connections cause this problem?
It's possible, but you have no control over remote proxies. An IP change mid-session should invalidate the session.