How to logout user for basic HTTP authentication
问题 Is there a solution to logout a user (make a browser clear its cached credentials and ask user to login credential once again) for basic HTTP authentication? I've already looked through the following questions: logout with basic authentication without closing webbrowser like banking sites will display HTTP authentication logout via PHP 回答1: Yes, but it's not very smooth. You have a special script URL (eg /logout ; like a login script it must be in the root of the webapp to ensure the auth