zend framework - jQuery ajax request using datatype jsonp still yields a 403 forbidden error -
i spinning around problem while , have looked solutions online, following them hasn't solved problem. context login page, must validate user upon supplied credentials using strategy. use typical jquery ajax function this:
$.ajax(function(data){ url:"login/loginaction" data: {email : email, password: password} ... // on , forth });
unfortunately yields '403 forbidden error' stating request not authenticated. prod around find cross domain policy issue, since user not authenticated hence server spits out issue. realize can add additional parameter in ajax call avoid this, being :
datatype: "jsonp"
however, still gives me same issue. can me understand missing here , how can overcome problem ?
Comments
Post a Comment