Why is AntiForgeryToken's hidden field not same as its cookies on my machine?
I just did a quick test with a simple ASP.NET MVC 3 sample by modifying default LogOn form. According to this article , both hidden field __RequestVerificationToken and cookies __RequestVerificationToken_Lw__ must contain same value that generated by Html.AntiForgeryToken() . But it isn't exactly same when I got them in Fiddle, by the way, looking at MVC 3 source code, method GetAntiForgeryTokenAndSetCookie seemed not use salt value for generating the cookies. Was there any change in MVC 3? Forgot to say that I could still log on successfully with both normal or Ajax POST request. Here is raw