Questions tagged [form-authentication]

210 questions
15
votes
2 answers

Thread.CurrentPrincipal.Identity vs HttpContext.User.Identity

Possible Duplicate: difference between http.context.user and thread.currentprincipal and when to use them? What's the difference between these two in an ASP.NET application? I know the HttpContext.User.Identity is set when the user is…
bevacqua
  • 47,502
  • 56
  • 171
  • 285
11
votes
9 answers

How Disable Browser Back Button only after Logout in mvc3.net

I am using FormsAuthentication for userlogin. I am having a problem after user logs out successfuly the back button is browser allows user to view pages. I tried using javascript