Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
if (Page.User.Identity.IsAuthenticated)
to decide whether to redirect or not?
If I use this line its as if it takes too long and the result is false even if I put the correct user/pass in. On next page reload I am authenticated so the same code will return true.
Is there a better way?
Same result if I use this code too:
UnifiedPrincipal.Current.Identity.IsAuthenticated