Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

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().