• There’s something odd currently going on with the “Remember Me” checkbox on a site I manage that uses WP-Members plugin. If a user logs in via the specified Login page (with [wpmem_form login]), then the cookie(s) with the 2 week expiration is not set. If a user logs in via the default wordpress login page /wp-login, the Remember Me 2 week cookies are set just fine. I eliminated variables by disabling all other plugins apart from WP-Members and confirmed it is still behaving this way.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Just wanted to add I have been struggling with the same problem, but fixed it by rolling back to an earlier version of WP-Members. By rolling back to version 3.3.5. users will stay logged in for two weeks. So it seems this bug was introduced some time after that version.

    Thread Starter meh1936

    (@meh1936)

    This was fixed in the development version, it seems. So hopefully it is coming soon in a future update. If you’d like to temporarily apply the fix on your site, here’s the relevant commit that should help you out.

    https://github.com/rocketgeek/wp-members-dev/commit/f1af754e73138e41ca1c920d006d08ab2ca0f883

    I assume this fix still isn’t present? Doesn’t seem to be working in my case. I have the latest version of WP and the plugin.

    This works: go to /wp-login.php > Click “remember me” > Terminate browser > Open browser > Visit website ==> I’m still logged in

    This doesn’t work: Go to WP-members login form > Click “remember me” > Terminate browser > Open browser > Visit website ==> I’m not logged in.

    Plugin Author Chad Butler

    (@cbutlerjr)

    As noted above, it was fixed in the development version, which is version 3.4.0, which (coincidentally) is scheduled for release this evening.

    It was originally intended to be released yesterday, but for a number of reasons, that did not happen.

    If you can wait a few more hours, it will be out in production. If not, what is expected to release later is in the github repo here: https://github.com/rocketgeek/wp-members-dev/

    (In fact, it would be great if you want to test out the dev version from the repo and give a shout if anything goes awry with the update. There’s not really a database change other than 1 minor thing, so rollback is possible without issue.)

    Hi Chad,

    Thanks. This is working again now. However, since the update we get a “CAPTCHA was not valid” message when we try to submit the wpmem_form. While checking the CAPTCHA we get the green check mark so everything seems fine, but only after we submit the form and the page refreshes, we get the message “CAPTCHA was not valid”.

    Is this related? Or should I open a new topic about this?

    Plugin Author Chad Butler

    (@cbutlerjr)

    Is this related? Or should I open a new topic about this?

    That would be a totally unrelated issue, so yes, you should open a new topic (but I’ll start looking into it).

    I don’t use WP-Members plugin, but the Remember Me feature stopped working for me about a year ago when I got my new computer. I assumed it was something to do with that. It does not work on any of the websites I manage.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘“Remember Me” Cookies not being set?’ is closed to new replies.