HTTP Basic Authentication—client-side technique for logging out a user: Send an XMLHttpRequest with wrong user/password combo. Alas, that only works with Safari and not with Chrome and Firefox.