Re: Can't logoff from IIS with Windows Identity

From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 09/27/04


Date: Mon, 27 Sep 2004 12:14:09 -0500

On Fri, 24 Sep 2004 20:28:32 +0200, "Andrzej Nycz" <andrzej.nycz@docusoft.pl> wrote:

¤ Hi,
¤ I'm using Windows Authentication in my ASPNET application, but there is no
¤ way to logoff user beside to close the browser because user is cached on
¤ client side.
¤
¤ any solutions ??, help, please...

This is correct. The only way to flush credentials is via the browser or underlying browser
technology. In addition, the process (if supported) would be different depending upon the type of
browser being used. For example there is an ActiveX component that will enable you to do this with
IE but it would have to be downloaded and installed on the client first.

The best way to enable this feature is to use Simple Forms Authentication instead of Basic or
Integrated NT authentication.

Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)



Relevant Pages

  • Re: Substituting new Context.User.Identity for Authentication in SPS 2003
    ... MS SharePoint Portal Server does not perform authentication. ... MS SPS does perform authorization based on a Windows account presented ... Since SPS is accessed via a browser, ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Soymail not working with WASD
    ... A 404 can also indicate the server account does not have permission to access the file entry in the parent directory and therefore does not 'see' it during the directory search. ... Once authentication is going I suspect we may be back to analysing the originally reported 404 error. ... WATCH is a tool that if it doesn't indicate exactly the reason for any given server behaviour usually provides a very good hint. ... which should provide you with a browser username/password dialog box requesting authentication for "SKELKEY". ...
    (comp.os.vms)
  • Re: ASP and NTFS
    ... If you are using a HTTP based authentication mechanism (eg NTLM, Basic, ... then the browser needs to send the appropriate credentials in ... > be able to redirect with the user name and password they already ...
    (microsoft.public.inetserver.iis.security)
  • Re: Forms Based Authentication and the OpenWave Browsers
    ... Try taking this redirect out of the try...catch; ... > Authentication in cookie enabled WAP browsers. ... > Samsung Browser, Forms Authentication and RedirectFromLoginPage - This is ... > Open Wave Browser and Cookies - While regression testing my new change, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: IIS Log Files logs 401 HTTP Codes
    ... the browser makes requests assuming no authentication is ... Suppose the browser makes an anonymous request to a server that REQUIRES ...
    (microsoft.public.inetserver.iis.security)