ASP.NET MVC3 AntiForgeryToken

后端 未结 2 1275
误落风尘
误落风尘 2021-02-05 20:22

Here I have simple MVC3 application with two form posts. To protect CSRF attack, I have used antiforgerytoken html helpers in both forms as per guidance here.

Here are m

2条回答
  •  既然无缘
    2021-02-05 20:36

    I have no clear idea but i think there should be one value for "RequestVerificationToken_Lw" which will travel through for a single session. It will not create new value for each form.

提交回复
热议问题