Portal Home > Knowledgebase > Articles Database > Force htpasswd


Force htpasswd




Posted by Skrapy, 11-08-2014, 12:49 PM
Hello, I'm protetting a subdomnain with htaccess and htpasswd. But after the first login, even closing the site and the browser there is no prompt for user and password again. My computer is used by several users and I want to be the only one to acceed that subdomain. What can I do ? Ty

Posted by MikeDVB, 11-08-2014, 01:06 PM
Clear your cookies/cache.

Posted by Truman, 11-09-2014, 06:06 AM
This is most likely an issue with your browser cache. Make sure you have set the browser to clear the cache as soon as you close it.

Posted by brianoz, 11-09-2014, 09:47 PM
The important thing here is to understand that once you have entered a Basic Auth password it is cached by the browser until ALL BROWSER WINDOWS are closed. You may be able to implement a logout, though logging out of Basic Auth is difficult and problematic. You might just be able to use a browser in incognito/anonymous mode - then you just need to close all incognito sessions to lose the password.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Reseller Suggestion (Views: 694)

Language: