Troubleshooting anti-forgery token problems

前端 未结 11 2076
孤城傲影
孤城傲影 2020-11-27 03:48

I have a form post that consistently gives me an anti-forgery token error.

Here is my form:

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
         


        
11条回答
  •  无人及你
    2020-11-27 04:28

    Is necessary check the form is it valid, before disable submit button.

    
    
                                     
                  
提交回复
热议问题