How Do I Log out with Http Basic?

How Do I Log out with Http Basic?

Browsers rarely make it easy to log out of a site once you've logged on with HTTP Basic authentication. How can I do this?

(This form of authentication is rarely used on the public web, but the intranet I'm on uses it all the time. It's the one where you get a pop-up dialog asking you for a username and password.)

4 Answers

For most browsers

Log in with a nonsense user using the address bar. For example, if you logged on to and loaded the URL , enter this:


h/t Riyadi on tolaris.com

David Miller
Author

David Miller

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.