Windows authentication

Asked

Viewed 30 times

1

My Windows authentication is getting lost with time.

I do the following validation:

if(HttpContext.Current.User.Identity.IsAuthenticated == true)
    dsHostName = User.Identity.Name.Split('\\')[1].ToString();

-Authentication IIS Anonimo: Disabled Windows: On The Go

On the first access makes the authentication, I want to force the authentication when lost, as the image below:

inserir a descrição da imagem aqui

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.