Title: login problem with cache
Last modified: May 23, 2019

---

# login problem with cache

 *  Resolved [kullananlar](https://wordpress.org/support/users/savekonq/)
 * (@savekonq)
 * [7 years ago](https://wordpress.org/support/topic/login-problem-with-cache-2/)
 * I am using an plugin for login. but once you have logged in, you have to refresh
   the page 1 time. I am using this code. it does not work.
 * ` window.location.reload(true);
 * What do you recommend to clean up cache or refresh page after login?
 * users cannot login to the site.
 * the plugin I’m using is: **AJAX Login and Registration modal popup + inline form

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [7 years ago](https://wordpress.org/support/topic/login-problem-with-cache-2/#post-11565362)
 * Hi [@savekonq](https://wordpress.org/support/users/savekonq/), may I know what
   is your LiteSpeed Cache version?
 *  Thread Starter [kullananlar](https://wordpress.org/support/users/savekonq/)
 * (@savekonq)
 * [7 years ago](https://wordpress.org/support/topic/login-problem-with-cache-2/#post-11565553)
 * hi [@stanleylitespeed](https://wordpress.org/support/users/stanleylitespeed/)
   my litespeed cache version **2.9.8** updated today.
 *  [nagoke](https://wordpress.org/support/users/nagoke/)
 * (@nagoke)
 * [7 years ago](https://wordpress.org/support/topic/login-problem-with-cache-2/#post-11567396)
 * Hi, sorry to interject but I am facing the same problem as the OP and would like
   to know if there is a workaround. The above WP plugin (AJAX login and registration
   modal popup) adds a popup login form functionality.
 * A user will not be successfully logged in on 1st attempt (despite correct credentials)
   
   A 2nd attempt will be required before login is successful.
 * Refreshing the page (after 1st login attempt) seems to also work.
 * Any thoughts?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [7 years ago](https://wordpress.org/support/topic/login-problem-with-cache-2/#post-11600154)
 * Hi,
 * Confirmed issue reproduced with plugin AJAX Login and Registration modal popup
   + inline form.
 * our devs are working on fixing.
 * Best regards,
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [7 years ago](https://wordpress.org/support/topic/login-problem-with-cache-2/#post-11600159)
 * Hi all, thanks for the report, we are working on the fix, will let you know if
   it’s ready.
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [7 years ago](https://wordpress.org/support/topic/login-problem-with-cache-2/#post-11600493)
 * Hi all,
 * Please try to install this commit on `LiteSpeed > Debug (After turned on Debug
   Mode on LiteSpeed > Setting > Debug > Debug Log)` page:
 * [https://github.com/litespeedtech/lscache_wp/commit/5668bd894aeec7c06d760be9d08bff2fd4517b81](https://github.com/litespeedtech/lscache_wp/commit/5668bd894aeec7c06d760be9d08bff2fd4517b81)
 * Thanks,
    Stanley
 *  [nagoke](https://wordpress.org/support/users/nagoke/)
 * (@nagoke)
 * [7 years ago](https://wordpress.org/support/topic/login-problem-with-cache-2/#post-11606387)
 * Thanks for the acknowledgement.
    If I might add, it seems to affect other (similar)
   plugins which creates a modal login page. Another such plugin which is affected:**
   Woocommerce Login Popup and Shortcodes**
 * I’m not entirely sure when exactly this problem first started. But it definitely
   was fine with earlier versions LSCache.
 * Regards.
    -  This reply was modified 7 years ago by [nagoke](https://wordpress.org/support/users/nagoke/).
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [7 years ago](https://wordpress.org/support/topic/login-problem-with-cache-2/#post-11608397)
 * Hi [@nagoke](https://wordpress.org/support/users/nagoke/), I’ve tested Woocommerce
   Login Popup and Shortcodes with the latest version of LSCache and it’s working
   smoothly. Could you try to install our latest commit for testing?
 *  [nagoke](https://wordpress.org/support/users/nagoke/)
 * (@nagoke)
 * [7 years ago](https://wordpress.org/support/topic/login-problem-with-cache-2/#post-11610258)
 * Hi [@stanleylitespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * Tested the commit.
    Works with Woocommerce Login Popup and Shortcodes!
 * Thanks for the support 🙂
    -  This reply was modified 7 years ago by [nagoke](https://wordpress.org/support/users/nagoke/).
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [7 years ago](https://wordpress.org/support/topic/login-problem-with-cache-2/#post-11611342)
 * Thanks for letting us know 😉

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘login problem with cache’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

## Tags

 * [login](https://wordpress.org/support/topic-tag/login/)

 * 10 replies
 * 4 participants
 * Last reply from: [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/login-problem-with-cache-2/#post-11611342)
 * Status: resolved