Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Logout automatically on quitting the browser?

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Logout automatically on quitting the browser?

Tagged: browser, close, Logout

  • This topic has 4 replies, 2 voices, and was last updated 13 years, 6 months ago by admin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 27, 2011 at 6:56 pm #4633
    drumkeyjw
    Member

    I built a membership site that will be accessed by multiple people using the same computer. The client is asking me if I can have it so when a user quits the browser and someone else opens that browser, the previous user will be automatically logged out.

    Is this possible?

    Thanks!!!

    -John

    October 27, 2011 at 11:35 pm #37993
    admin
    Keymaster

    The standard HTTP protocol is not designed to send a message to the server when you close the browser. So eMember has no way of knowing for sure that a user truly closed the browser. This type of measure is best to implement on the client side. So the user can change his/her browser’s preference to wipe everything when the browser is closed (most advanced browsers have options to do this). This way when someone starts the browser next time it will be a clean slate.

    October 28, 2011 at 8:20 pm #37994
    drumkeyjw
    Member

    Thank you!!! =)

    October 31, 2011 at 12:36 pm #37995
    drumkeyjw
    Member

    Is there anyway to set it so that after a certain amount of time has passed the user will be automatically logged out?

    The website will be accessed a lot from public schools. The client is worried about someone logging in on a public compouter, and then leaving the browser open or even closing the browser but since the user did not “Logout”, they’ll still be logged in when the next person uses the computer.

    Thanks!!!

    October 31, 2011 at 10:18 pm #37996
    admin
    Keymaster

    This is one of the main reasons why computers in a public place like Airports, Universities, Internet cafes and stuff have a system which automatically logs the user out every so many minutes and/or delete all browser cookies, passwords, history etc when they log out. There are some things that you can only do efficiently in the client side and this is one of those things. If you read up on how to setup computers to be used in a public place, you will find out the best practices and tools used in the industry.

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

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ