Database login cookie did not match your login cookie




Wordpress LScache Plugin: Database login cookie did not match your login cookie

Last Updated on: Wed, 15 Apr 2026 00:00:02
Guys, Im back with a question, perhaps one of you have gone thru this. Im doing some tests with Open LiteSpeed and I moved my site from LiteSpeed Enterprise to it. I cant make the cache plugin work anymore, I keep getting this message at the top of WP dashboard: Database login cookie did not match your login cookie I checked the .htaccess file and I can see the lsvary cookie there, with the proper name I set on it. I did restart LSWS, logged out and back in, but it doesnt change. Always get the same error message on wp-admin dashboard. I also notice the cache is not really working. Guest visitors on the site never get a cache. when observing the headers, sometimes I see the cache miss there, sometimes nothing at all. Never a cache hit. I also tried removing the plugin and re-installing it but no luck. Any ideas? Thanks! Hi @lenineto, Weve successfully reproduced this situation with OLS, will check and let you know when we get an update. Thanks, Stanley Hi @lenineto, May I have your .htaccess setting? Thanks, Stanley Hi @lenineto, We fixed this issue, please update you OLS server to the latest version on next release, thanks. Thanks, Stanley



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference