Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

HttpContext.Current.User.Identity.IsAutheticated always returns false

$
0
0

Hi guys. I have ab bit of a problem here. I'm authenticating my users by creating cookies and that seems to be working perfectly (users are logged in properly), but in my code, all HttpContext.Current.User.Identity.IsAutheticated and User.IsInRole("Role") always return false. What am I doing wrong here?


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>