ASP.NET MVC3 表單令牌

在form標籤內加入: spa

  @Html.AntiForgeryToken()orm


在form action 的方法加上 ci

  [ValidateAntiForgeryToken]it

相關文章
相關標籤/搜索