• Hi!
    So I have set some pages to be blocked off and when you go to the page you are asked to login which is fine and the page works when you log in, but other pages that are also blocked don’t recognize that I am logged in and need to log in again.

    Here is a video of what is happening: https://d.pr/v/YTcD0K

    Hope you can help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    I would suggest looking at any cacheing that you may be running – either by plugin or on the server.

    WP-Members uses WP’s wp_signon() function to log the user in and WP’s is_user_logged_in() to check whether a user is logged in or not. So generally, any issue with maintaining login state is not going to be specific to the plugin.

    If you’re using a server site cache like Varnish, these usually do not have the necessary exceptions to work smoothly with front-side logins. If you’re using a cache plugin such as W3 Total Cache or WP Super Cache, you may need to review your configuration.

    Thread Starter robbierobbie

    (@robbierobbie)

    No caching is enabled – I did check that.

    I worked out that it’s only happening if I go to the blocked page and login there instead of the sidebar module.

    If I use the sidebar module, it works fine.

    Not sure if having two forms on the same page affects it?

    Thread Starter robbierobbie

    (@robbierobbie)

    So it also seems that it’s only affecting the homepage, other pages are fine – can’t work out why the homepage is not showing that its logged. If I hard refresh (ctrl shift r) it does show that im logged in.

    How can I unsubscribe from this topic? When I log in and go to the topic, it says “Subscribe” on the right and I don’t see any way to unsubscribe.

    Thanks…I am getting lots of messages I don’t want.

    Thread Starter robbierobbie

    (@robbierobbie)

    Go to the main forum for this plugin and click on unsubscribe

    I am seeing the same exact issue. Oddly, the issue only occurs on FF and Chrome. If I attempt the login in MS Edge, it authenticates properly. I can create a video to demonstrate just like the original post shows if needed.

    ** I should also note, no caching in place. Just a base install of WP 4.8.1 and Gantry 5 framework with the Helium theme all running in Azure App Service.

    • This reply was modified 7 years, 6 months ago by anortiz08.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Login module not working properly’ is closed to new replies.