IIS 7 and Above
How To Log Out From IIS Site?
Last post Apr 10, 2018 01:40 AM by lextm
Apr 07, 2018 12:40 AM|abrogard|LINK
I've enabled basic authentication. I log in as a user with an account on this machine, use their name, their password.
I want to use the browser again to check via another user - can't do it. The browser doesn't give me the log in fields.
I need to log out I guess.
How to do that?
And don't I remember I used to do this and get a new log in screen with every new tab I put up and aimed at that URL?
IIS changed or browsers changed or I'm just crazy?
Apr 08, 2018 01:31 PM|lextm|LINK
Ask Google next time please. Such are discussed too many times,
Apr 08, 2018 10:06 PM|abrogard|LINK
Ah, okay, don't come here for an answer. Fair enough. Sorry.
Yes, I had googled a bit and so far only got such hits as the link you provided which provides uncertain and confusing 'solutions' going back years. Complete with comments explaining that it didn't work here and doesn't work there and this has changed
and that has changed and suggesting you code with this or that or the other.
Quite off putting for such as me so I can readily understand why you didn't cut and paste an example solution - any one you cut may turn out to be faulty.
Equally so I can understand why you didn't provide a solution yourself and of course it's no surprise that a solution within these threads can't be linked to but rather 'google it' is your helpful suggestion - along with the intimation that I or such as
I have asked this question too many times and intend in future to ask it again - ad infinitum perhaps.
No. I have no intention of asking it again. I don't. I ask once, generally in more than one forum, and try the answers I get as I get them and don't argue when I don't get them and don't complain when the answers don't work.
Just thought you might like to know. Relieve you of your distress thinking I'd perhaps importune you endlessly for answers to this widely discussed and presumably often solved problem which at the same time doesn't lend itself to quoting of solutions.
Relax. I certainly won't. And I'll ask everyone I know to please avoid asking IIS forums for an answer to this problem and I'll ask them all to please Google any questions they may have before ever considering IIS forums on the grounds that they well may
find that the question has been 'discussed too many times' and therefore is not welcome at IIS forums.
It is understandably mildly annoying for IIS forums to be asked questions that have been widely discussed and questioners should know that, should make themselves aware of it and the simple way to do that is to google first. Always Google first, should
be the rule. Do not consult IIS Forums until you've googled and ascertained the level of discussion to date.
Perhaps we need a metric? And a method? Consult Google. Okay. But what number is 'too many' and how are we to arrive at this number from the google hits? Just a bald count of hits? Or each hit to be investigated to ascertain its nature: discussion,
solutions presented, or perhaps a site that rejected consideration on the grounds that the subject has been discussed too often?
Would such a site be properly counted in amongst sites that have discussed the question?
Apr 09, 2018 05:13 AM|Yuk Ding|LINK
Never mind. You could ask any IIS related question here no matter it have been asked how many times. I'm always glad to help you fix your issue.
Besides, if you require to control the log out/ log in for the basic authentication. You could use form authentication and code to verify windows credential. Then it would be not difficult to control the log out of your website.
Basic authentication itself is not that easy to control. It looks like the IIS save the connection status in cache which could only be expired. Session based authentication would be much better.
Apr 10, 2018 01:40 AM|lextm|LINK
Yes, I had googled a bit and so far only got such hits as the link you provided which provides uncertain and confusing 'solutions' going back years.
Any links I provided, I carefully verified the answers/discussions to make sure they are useful and clear. If you cannot fully understand the linked materials, and just hurry to get a "step by step" solution, that's your freedom and God bless you. BTW, there
are tons of tips to improve your search skills https://www.lifehack.org/articles/technology/20-tips-use-google-search-efficiently.html and also ways to filter
out low quality search results.