Secure Logout
Posted: Sun Apr 20, 2003 7:00 am
Hi,
I have a question that relates to programming a secure logout routine for .htaccess password protection on a website.
There is a site that I go to and it has this kind of protection, if I login I can close the browser and later open my browser and go back without needing to enter my password again (I do not select to save my password). Now on this page there is a link that allows me to logout, when I click this link and following attempt to access the page makes me have to enter my password again.
Now on my own site I am using this same kind of protection, my question is how do I create such a logout link, what script do I need to do this, it preferably should be a perl cgi script.
You help is greatly appreciated.
I have a question that relates to programming a secure logout routine for .htaccess password protection on a website.
There is a site that I go to and it has this kind of protection, if I login I can close the browser and later open my browser and go back without needing to enter my password again (I do not select to save my password). Now on this page there is a link that allows me to logout, when I click this link and following attempt to access the page makes me have to enter my password again.
Now on my own site I am using this same kind of protection, my question is how do I create such a logout link, what script do I need to do this, it preferably should be a perl cgi script.
You help is greatly appreciated.