Contents tagged with HttpAntiForgeryException

  • MVC Pro-Tip: Anti-Forgery Cookie Token And Form Field Token Do Not Match

    Just a really quick thing for you to check - one of the users of a MVC admin system I administer complained that they were getting this error message, after a release: System.Web.Mvc.HttpAntiForgeryException: The anti-forgery cookie token and form field token do not match. It turns out they hadn't logged out and back in again since the release - as we are hosting the website on Azure, the … more

  • 1