- This topic has 4 replies, 2 voices, and was last updated 13 years, 2 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Logout automatically on quitting the browser?
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
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.
Thank you!!!
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!!!
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.