Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have used
anti-forgery token
in mvc 5 Web Application, In my Local machine code is working fine and showing
__RequestVerificationToken
in cookies, But when I host my website then It is showing
The required anti-forgery cookie "__RequestVerificationToken" is not present
while posting the data.

What I have tried:

Change Binding, Restart my IIS.
Posted
Updated 5-Jul-18 9:02am

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900