Request.IsAuthenticated vs. Identity.IsAuthenticated

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

Seems either of these can be used to check whether a request is
authenticated or not:

Request.IsAuthenticated
HttpContext.Current.User.Identity.IsAuthenticated

Are these always in sync? in other words, the values returned from these
two properties are always the same in any scenarios?

Thanks
Bob
 
Back
Top