I’m facing a unique problem with my website dealing with login.
On logging into the site, I have a tab that displays the logged in person’s thumbnail and name on top right corner of the website(where the LOGIN button was before). When i navigate to a new post immediately, sometimes, it loads the new post as if i have not logged in at all. (so the LOGIN link shows back and user info is gone).
So basically the fact that i’ve now logged in and it should fetch a page with this login details needs to go through. Subsequent navigation of different posts too doesn’t fix it. Only if i do a manual refresh of the browser do i get that fixed and then all navigations are fine. This doesn’t happen all the time. It’s kinda random, so i’m not sure why or what is causing it.
I have following caches set to ON:
I used to think it might have been the page cache being on and i turned it off. Now i’m suspecting it might be the browser cache. But anyone else faced such an issue and know the fix?
I have ‘Don’t cache queries for logged in users ‘ on ‘Database Cache’ set to true.
- The topic ‘After logging in, new page displays logged out version!’ is closed to new replies.