Problem with login using ASP.NET MVC

  • Hi,

    I use ASP.NET MVC and just tried to login in Opera and I received the following error:

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

    There is no such problem in IE, chrome, firefox or Edge .

    Is it possible to know if only I have this problem and whether there's a way around it?

    With thanks.

  • I'm afraid what you are asking is more appropriate for an MVC forum rather than this one. Anyway, what you report happens when your login action has the [ValidateAntiForgeryToken] attribute but your cshtml file is lacking if its @Html.AntiForgeryToken().

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.