Cache bug, logged in user cannot access content
-
There’s a bug. I have installed this plugin on a new installation with no cache plugins at all and this is what happens.
Background Info
Wordpress 4.7.3
Plugin version 3.4.5
Single level of membership setup
Free membership enabled
Page A and Page B are restricted to members onlyI open browser, clear cache completely, go to the website and then navigate to Page A. I am told this is restricted content, so I click login link and enter my credentials. I am then taken to the home page. I navigate to Page A again and am asked to login. If I ignore this and navigate to Page B I am able to view content.
This appears to be a cache bug because I am visiting the page that I cannot view prior to logging in. I have been able to replicate this process by also visiting Page B before logging in (with browser cache cleared) and then after logging in still not being able to see the content. As soon as I refresh the page I am not able to view after logging in, then the page content becomes available. This is fine as a workaround while testing the plugin, but no good as users will not need to know they need to refresh the page and will just get stuck in a loop of logging in and then being asked to login when accessing restricted content pages.
I’d also be willing to make a donation if you’re able to send the user back to the page they tried to access prior to logging in after they login, which is an expected user experience in this day in age.
- The topic ‘Cache bug, logged in user cannot access content’ is closed to new replies.