How logout in code that using Window Authentication?

Discussion in 'ASP .Net Security' started by Neil, Aug 19, 2004.

  1. Neil

    Neil Guest

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

    Thanks.
    Neil.
    Neil, Aug 19, 2004
    #1
    1. Advertising

  2. Neil

    Raterus Guest

    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" <> wrote in message news:...
    > Hi,
    > We using Window Autoentication, but we want logout in our code, how
    > should i do?
    >
    > Thanks.
    > Neil.
    >
    >
    Raterus, Aug 19, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?dmE=?=

    RE: Logout status doesn't really logout?

    =?Utf-8?B?dmE=?=, Mar 26, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    568
    =?Utf-8?B?dmE=?=
    Mar 26, 2006
  2. =?Utf-8?B?RFdT?=

    RE: Logout status doesn't really logout?

    =?Utf-8?B?RFdT?=, Mar 26, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    564
    =?Utf-8?B?RFdT?=
    Mar 26, 2006
  3. =?Utf-8?B?dmE=?=

    Logout status doesn't really logout?

    =?Utf-8?B?dmE=?=, Mar 26, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    677
    =?Utf-8?B?dmE=?=
    Mar 26, 2006
  4. voorth
    Replies:
    0
    Views:
    1,245
    voorth
    Nov 7, 2006
  5. Berdingway
    Replies:
    0
    Views:
    1,001
    Berdingway
    Nov 25, 2008
Loading...

Share This Page