I have a Wordpress site, and I have one page password-protected. The way this functionality is built is that Wordpress doesn't log the user out for a long time.
I need this to be changed so that the user is logged-out when the tab or browser closes, and also after a determined period of time (30 minutes would be ideal). The user should also not be able to hit the "back" button and have access to that page without re-entering their password.
The code you write must be cross-browser and platform compatible, and ideally it will be code which I can reuse on other sites.
I will not give you the Wordpress password for implementation on my site, so you will need to explain to me how to implement the code.