WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Sidebar Login on Index Page Overruled by Cache, Cookie Not Honored (6 posts)

  1. Tranny
    Member
    Posted 1 year ago #

    Hello,

    I'm using W3 and Sidebar Login (in a widget). When a user tries to login from the index page, cookie is set, but cached version of the page is still displayed, so login is not recognized. As a result, the login form doesn't change into displaying the member's avatar and info and likewise the WP member panel which is on top of all pages for easy access to the backend is not displayed.

    Disabling Page Cache resolves the issue, however with it disabled, CPU load doubles so it is quite needed. I have a very high traffic site so when a member tries to log in and it doesn't log them in, they may freak and think they had been banned for no reason. Therefore it's a very bad thing for me. Majority of internet users are not very tech savvy which is why I have that login form in the sidebar, so it's of importance that when they try to log in, that it shows them as logged in. However given how busy my site is, extra load due to no page caching is too much.

    How can I make sidebar login work while also get proper caching?

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Tranny
    Member
    Posted 1 year ago #

    That sucks, I just checked other support threads for W3 - no support provided. Complex plugin without any support - may not have been the greatest idea messing with it?

  3. Man2u2uk
    Member
    Posted 1 year ago #

    Hi,

    I'm having exactly the same issue. Did you ever find a workaround?

  4. Dennis Enderink
    Member
    Posted 1 year ago #

    I published a workaround plugin that addresses this problem until it is fixed properly. Check it out here: http://wordpress.org/plugins/flush-cache-login/.

  5. GearMX
    Member
    Posted 10 months ago #

    Thank you Dennis for making this! thank you!

  6. Martin
    Member
    Posted 10 months ago #

    Does this happen to also work with Varnish as I get an error when using HydridAuth with Sidebar Login and W3.
    I think it has something to do with sessions from what I'm able to tell.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic