[ad_1]
[ad_2]
Hi eveyone, was wondering if someone could provide some insight on this, see i have a website that use the My Private Site plugin which works great for restricing access and for logging in, but what it does lack is the ability to sign you out upon closing a tab, so can anyone tell me how i could achieve force logging someone out of the wordpress dashboard everytime they close or reopen a tab?

Checkout [How to Automatically logout users on Browser Tab close](https://www.inactive-logout.com/blog/automatically-end-sessions-users-on-browser-tab-close-with-inactive-logout)
And
[3 Ways to Automatically Log Out Idle Users
](https://www.malcare.com/blog/automatically-log-out-idle-users-in-wordpress/)
There are plugins that will log you out after x minutes/hours of inactivity.
In theory you could do put the settings to 5 minutes, but if you are working on something then your pizza delivery comes, going down to the door, getting a plate to eat it then go back to your computer it could take 5 minutes.