Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Membership account auto log out every x time

Simple Membership Plugin › Forums › Simple Membership Plugin › Membership account auto log out every x time

Tagged: session login

  • This topic has 4 replies, 3 voices, and was last updated 3 years, 7 months ago by Eric iStudio101.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 7, 2022 at 10:20 am #24578
    ivan
    Participant

    Hello,
    Curently, I am working with Simple Membership and I have an issue with the duration of the sesion.
    I can not find a way to increase the duration of this or maybe make it non expirable. It is a problem because when the session expires the member has to login again and that is too often and annoying.

    I would appreciate it if you could give me s solution, thanks.

    October 7, 2022 at 8:55 pm #24579
    The Assurer
    Moderator

    On the login page:

    1. If the “Remember Me” box is checked, the login cookie used by the plugin is given an expiration date of 14 days and 12 hours.
       
    2. If the “Remember Me” box is not checked, the login cookie used by the plugin is given an expiration date of 3 days.
       
    3. If the member’s browser is configured to clear all cookies, when the browser is closed; the effect is as if the member is logged out, every time they close their browser; irregardless of whether or not the “Remember Me” box is checked. YOU HAVE NO CONTROL OVER THIS.</em
       
    4. Otherwise, the 14.5 or 3 day cookie expirations will be in force.
       

    If you’d like to shorten or eliminate the 3 day minimum expiry, please see:
    https://simple-membership-plugin.com/paid-support-simple-membership-plugin/

    October 10, 2022 at 9:03 am #24586
    ivan
    Participant

    Thanks for the answer, but I am talking about an auto logout. When happens the browser saves the password, that is true, but I want to expand the time between logouts.

    October 10, 2022 at 9:46 pm #24589
    The Assurer
    Moderator

    The duration of the session is controlled by the login cookie; which is set, depending upon the login condition I indicated.

    If the browser does not clear the its cookies, the length of the login session is either 3 days or 14.5 days.

    If the browser clears its cookies, when the browser is closed, the member is logged out; regardless of what the login cookie is set for.

    If you are asking about automatically logging out a member, who either forgets to logout, or to prevent multiple logins, SWPM has no such capability.

    October 11, 2022 at 6:02 pm #24597
    Eric iStudio101
    Participant

    I face an issue that was not there before…
    Members can’t log in any longer. Here is the log…
    Should it be the same issue than this one? Any help?
    Thanks

    [2022/10/11 19:35:02] – SUCCESS: Authentication request using email address: subscriber@wanadoo.fr, Found a user record with username: subscriber@wanadoo.fr
    [2022/10/11 19:35:02] – SUCCESS: Authentication request – Username: subscriber@wanadoo.fr
    [2022/10/11 19:35:02] – SUCCESS: Authentication successful for username: subscriber@wanadoo.fr. Executing swpm_login action hook.
    [2022/10/11 19:35:02] – SUCCESS: Trying wp_signon() with username: subscriber@wanadoo.fr
    [2022/10/11 19:35:02] – SUCCESS: wp_authenticate action. User with username: subscriber@wanadoo.fr is already logged in.
    [2022/10/11 19:35:02] – SUCCESS: wp_login hook triggered. Username: subscriber@wanadoo.fr
    [2022/10/11 19:35:02] – SUCCESS: Setting current WP user to: subscriber@wanadoo.fr
    [2022/10/11 19:35:02] – SUCCESS: Triggering swpm_after_login hook.
    [2022/10/11 19:35:02] – SUCCESS: synchronise_swpm_logout_for_wp_users() – Force wp user login sync is enabled.
    [2022/10/11 19:35:02] – SUCCESS: WP user session is logged out for this user. So logging out of the swpm session also.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy