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

[Resolved] Be Logged Out when the Browser Tab is Closed

Simple Membership Plugin › Forums › Simple Membership Plugin › Be Logged Out when the Browser Tab is Closed

Tagged: Log out immediately after closing a browser tab

  • This topic has 2 replies, 2 voices, and was last updated 8 years ago by FCHCC.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 13, 2018 at 10:24 pm #16816
    FCHCC
    Participant

    Hi, I know there’s a setting that will automatically log the visitor out when they close out their browser. But what about if they close the tab of my website but they don’t close out their browser? Can I set up this plugin to automatically log them out when they close the tab even if they don’t close their browser? If so, how can I do that?

    November 14, 2018 at 6:59 pm #16829
    The Assurer
    Moderator

    Please review my response to a similar question, you asked.
    https://simple-membership-plugin.com/forums/topic/is-there-a-way-to-see-logged-in-users/

    As long as the (Firefox, Edge, Chrome) browser is still executing on your computer; the login cookie will always remain active. This even applies to multiple instances of the same browser… If I had 2 instances of Chrome running, each under a different profile and tab set, the login cookie would not clear (if I had “erase cookies on browser exit” set) until ALL browser instances are closed.

    The ONLY way to achieve what you are seeking, is to have some kind of addon that will download a client-side script to the browser.

    November 15, 2018 at 10:45 pm #16831
    FCHCC
    Participant

    Yes, it would be make a good addon feature as there are websites that I do business with where I’m automatically logged out when I close out the browser tab. PayPal.com is one of those examples. Thanks for your response.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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