adsense

Wednesday, August 21, 2013

The required anti-forgery cookie "__RequestVerificationToken" is not present

When developing Asp.Net MVC applications you might end up getting the error "The required anti-forgery cookie "__RequestVerificationToken" is not present"

This errors occurs if you have used the ValidateAntiForgeryToken for a controller or an action, and you have not  specified @Html.AntiForgeryToken() inside the form in your view.

cheers
Samitha

No comments:

Post a Comment