The required anti-forgery form field “__RequestVerificationToken” is not present Error in user Registration

后端 未结 19 1285
旧巷少年郎
旧巷少年郎 2020-11-29 22:12

I am using Membership.create user function, then the following error is occurring,

The required anti-forgery form field \"__RequestVerifi

19条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-29 22:39

    Because this comes up with the first search of this:

    I had this issue only in Internet Explorer and couldnt figure out the what the issue was. Long story short it was not saving the cookie portion of the Token because our (sub)domain had an underscore in it. Worked in Chrome but IE/Edge didnt not like it.

提交回复
热议问题