Request.IsAuthenticated Return False all the time

前端 未结 3 1525
[愿得一人]
[愿得一人] 2021-01-24 01:37

I am having an issue with my Request.IsAuthenticated always return false. I am setting the AuthCookie

 CurrentRequest currentRequest = null;

            if (Url         


        
3条回答
  •  北恋
    北恋 (楼主)
    2021-01-24 02:01

    I was testing and I set my time back a few days. For someone reason it caused this issue after putting the date back it was fine. I assume windows forms had the old date (which was todays date) cached so I assume it was expired. Just a thought about the matter.

提交回复
热议问题