문제

recently, while implementing Ajax Jquery on one the my site, throw strange 401 UnAuthorised error, the strange thing in it is i am using forms authentication and the user is also logged in, but still its throwing the UnAuthorised error, i am using DNN CMS System

can anyone help me with the above probblem. below is the console from Firebug

http://guitarplayer.com/401Error.png

i am able to post the data, but unauthorised error while returning results.

도움이 되었습니까?

해결책 2

Its done, actually the problem was, i have missed the Class file including web method, but the strange thing was, Ajax Jquery should have replied me with 404 file not found, but instead it throws unauthorised access. anyways thanks guys for helping me

다른 팁

This could be due to your CMS system using CSRF protection. In order to POST, you will need to include CSRF details along with your post.

This same problem occurs in Rails apps. If you use POST without including CSRF information, the session gets reset and the login page is returned. This is a protection mechanism.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top