阅读背景:

仅在加载页面后发送ajax请求

来源:互联网 

I am using microsoft asp.net mvc for server side of my application and using jquery for client side. In my application I need to to do some thing when a specific page is loaded. I need to send a request to server side and do some thing. Because I do this in client side, every user can see my request, I want to be sure that the user which made the request is not the one that request the specific page. So far I use the request forgery token, But for the past month I track the exception and errors which my application faced, I see the the required anti-forgery cookie "myCookieName" is not present. First if some one can tell me what it is my mistake, and second if some one can suggest another solution.I am using microsoft asp.net mvc for server sid




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: