I am making a page that the user should enter his password again to open and when he navigate away and come back again he should re-enter the password. NO SESSIONS OR COOKIES, just a simple page you enter the password you view it.
How can I do this ?
Use two divs.
One which contains the main content and other containing a textbox and button.
And the login div
On login button click handler, check the password and toggle the visibility.