Request.IsAuthenticated is always false

前端 未结 10 2132
迷失自我
迷失自我 2020-12-15 04:34

Can you tell me why FormsAuthentication.SetAuthCookie(user.Name, false); is not causing Request.IsAuthenticated to be true?

Here is my code

10条回答
  •  时光说笑
    2020-12-15 05:22

    In my case, it was a problem in Chrome browser. I just removed all cookies stored and works.

提交回复
热议问题