XF 2.0 Xenforo 2 auto logout user session

Hi,
I have a problem, when i signined forum but while i browsing threads and other parts of forum everything fine when i click on Forum (Home ) its says i am not logged in forum but then i click on signin againt, its says i am already logged in forum.
Please tell my what I can do to fix it.
Thanks.
 
Many of my users are having this issue. Most of them are using Smartphones and Tablets, but there were some on Laptops and PC's that are having the issue. I haven't had any issues on any devices myself.

- We are not using cloudfare
- the users having the issues all claim that browsers are set to accept cookies.
- I also tried turning off all addons and having some of the members (having getting logged out) issues test it for about a half hour, and they were are still getting logged out.
- At the same time, I even turned off styles and let them test it with no addons and in the default syle.
- Also checked the Library/config.php file and saw no other caching backend such as memcached or APC.
- Turned it over to a Tech at the hosting solution and he tried adding Memcached w/session caching to no avail (happens with or without that as well)
- The tech even tried switching from LightSpeed to Apache, and updated PHP from 7.0 to 7.2
- There are no disk space limits being reached that would prevent new sessions from being created.

Sessions are being written into xf_session table. This is the key making the tech think it's not server-side.

It seems to happen whenever a member tries to do anything that requires registration, like clicking on likes, trying to post, etc. It's pretty frustrating for them, and had been going on for a couple of weeks.

Before placing a support ticket, I thought that I would come here to see if anyone else was having the issue.

I am using XF 2.0.10 (happened in 2.0.9 as well)
PHP 7.2 (happened on 7.0 as well)
MariaDB 10.2
2 server setup, webserver and DB server.

Anyone have any other leads to what else might be the cause?
 
I'm guessing that the problem is that you have both https and http versions of your site, as well as www and non-www versions

https://congdongxaydung.vn/forums/
http://congdongxaydung.vn/forums/
http://www.congdongxaydung.vn/forums/

All variations should resolve to one URL. Once you fix this, it's likely that your issues will be resolved. See points 19 and 20 of the FAQ and the How to Implement SSL for help with this:

https://xenforo.com/community/threads/frequently-asked-questions.5183/#post-180456
https://xenforo.com/community/resources/how-to-implement-ssl-to-secure-http-traffic-https.5425/
 
I'm guessing that the problem is that you have both https and http versions of your site, as well as www and non-www versions

https://congdongxaydung.vn/forums/
http://congdongxaydung.vn/forums/
http://www.congdongxaydung.vn/forums/

All variations should resolve to one URL. Once you fix this, it's likely that your issues will be resolved. See points 19 and 20 of the FAQ and the How to Implement SSL for help with this:

https://xenforo.com/community/threads/frequently-asked-questions.5183/#post-180456
https://xenforo.com/community/resources/how-to-implement-ssl-to-secure-http-traffic-https.5425/

Martok... That was it!

I guess I can look at the positives here.... every little bit of software on the site and server are now up to date.
 
Top Bottom