Author: naush83 | Posted on: 11/6/2009 1:48:30 PM | Views : 567

Can I implement log out programatically from windows authentication in asp.net? I need a button "Log Out" and on its click, user must be prompted to re-authenticate his windows credentials. This same feature can be seen in sharepoint portals (Log in as another user). How can i achieve this? I tried as follows.
   protected void LnkBtnLogOff_Click(object sender, EventArgs e)
        {
            Response.StatusCode = 401;     
        }
But this doesn't work. Pls advice me.

...

Go to the complete details ...