• Hello. Our website has been facing a problem of users, including the admin, getting logged out before their session has expired. It happens pretty often and it’s disruptive to use of the website.

    I’ve found that when I disable WP Fastest Cache, this no longer happens.

    We have set logged in users not to see the cached version and have also attempted to exclude relevant cookies or specific pages/ajax urls that are important to work, but it doesn’t seem to change anything.

    If you could provide a fix that would be very beneficial.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Emre Vona

    (@emrevona)

    such a problem should not occur. can you delete wp fastest cache and install again please?

    Thread Starter kapaweb

    (@kapaweb)

    I have deleted and reinstalled. I’ll wait and see if a logout occurs now. If there’s anything to do in the meantime, let me know.

    Thread Starter kapaweb

    (@kapaweb)

    It disconnected me again. It takes around 2 hours for it to happen, but it shouldn’t be happening at all.

    Plugin Author Emre Vona

    (@emrevona)

    are you using the wp native membership system?

    Thread Starter kapaweb

    (@kapaweb)

    Do you mean the WordPress User system? Yes we use that.

    We also have the the All in One Security plugin (https://www.ads-software.com/plugins/all-in-one-wp-security-and-firewall/), but testing with disabling/enabling it hasn’t shown it to be the root cause (while its limits for forced logouts have been set much higher than what actually occurs when the Cache plugin is active).

    Plugin Author Emre Vona

    (@emrevona)

    Does the following line exist in the htaccess file?

    RewriteCond %{HTTP:Cookie} !wordpress_logged_in
    Thread Starter kapaweb

    (@kapaweb)

    When I enable the cache, the following lines exist:

    RewriteCond %{HTTP:Cookie} !adminUser [NC]
    RewriteCond %{HTTP:Cookie} !adminUser2 [NC]

    RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^=]+=adminUser1|adminUser2|adminUser3

    RewriteCond %{HTTP:Cookie} !wordpress_logged_in

    Plugin Author Emre Vona

    (@emrevona)

    it means that cache does not cause the issue. are you using a server-side cache system?

    Thread Starter kapaweb

    (@kapaweb)

    Not that I’m aware of. How could I tell if I am?

    Plugin Author Emre Vona

    (@emrevona)

    you can contact your hosting provider.

    By the way, How long after logging in do you automatically log out?

    Thread Starter kapaweb

    (@kapaweb)

    Roughly two hours.

    I have access to the server myself. I haven’t activated server-side caching myself, but I was asking because I don’t know if DirectAdmin or Apache might have such a setting automatically.

    Plugin Author Emre Vona

    (@emrevona)

    By the way, How long after logging in do you automatically log out?

    Thread Starter kapaweb

    (@kapaweb)

    As I said, roughly two hours.

    Plugin Author Emre Vona

    (@emrevona)

    I do not think that it is related to wp fastest cache.

    Thread Starter kapaweb

    (@kapaweb)

    How is that possible if the problem happens when WP Fastest Cache is active and doesn’t happen when it’s not active?

Viewing 15 replies - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.