ASP.NET MVC: Html.AntiForgeryToken gives the same token on each page load
On my local machine, the Html.AntiForgeryToken method sets the value of the __RequestVerificationToken hidden field to a new, totally random string every time I reload the form. But if I move the same code to the remote server, the value of that hidden field is the same. It stays the same even if I recycle the app pool or clear run time cache by changing something in web.config. What do I do wrong?
ASP.NET MVC: Html.AntiForgeryToken gives the same token on each page load
===

On my local machine, the Html.AntiForgeryToken method sets the value of the __RequestVerificationToken hidden field to a new, totally random string every time I reload the form. But if I move the same code to the remote server, the value of that hidden field is the same. It stays the same even if I recycle the app pool or clear run time cache by changing something in web.config. What do I do wrong?