How logout in code that using Window Authentication?

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default How logout in code that using Window Authentication?

    Hi,
    We using Window Autoentication, but we want logout in our code, how
    should i do?

    Thanks.
    Neil.


    Neil Guest

  2. Similar Questions and Discussions

    1. Windows Authentication Window when using CF
      Hi, My System: Windows 2003 Server with IIS6,CF MX 7 Standard Every time i try to open a cfm page in the browser i get the...
    2. ASP.NET Forms Authentication don't work on some Window XP
      (Type your message here) I am working on ASP.NET project where I am using formauthentication, it seems to work fine on all OS including XPexcept on...
    3. forms authentication automatic logout without timers?
      Hello, I have a web application that uses forms authentication. I have been asked to implement a feature that logs users out automatically if they...
    4. Basic Authentication Logout
      I have an app with basic authentication turned on. I want to have a logout button. What code do I need to supply in my asp.net to logoff the user...
    5. window sizing & close this window code
      Sharon wrote on 16 jul 2003 in microsoft.public.inetserver.asp.general: No ASP to be seen, Sharon, please see a clientside NG, --...
  3. #2

    Default Re: How logout in code that using Window Authentication?

    You can't, once authenticated always authenticated with that authentication type. What you could do is instead of <identity impersonate="true">, set that to false, and then just impersonate with code when you want to, perhaps make a forms based application to simulate logging in/out. But this is really impractical when working with windows authentication, these applications are usually located on the intranet, and there is really no need to log in/out of them.

    --Michael

    "Neil" <neilxu@nfs.com.cn> wrote in message news:uMQSKBdhEHA.3928@TK2MSFTNGP11.phx.gbl...
    > Hi,
    > We using Window Autoentication, but we want logout in our code, how
    > should i do?
    >
    > Thanks.
    > Neil.
    >
    >
    Raterus Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139