Welcome Guest, Not a member yet? Register   Sign In
Sencha Touch Ajax request response
#1

[eluser]o.burger[/eluser]
hi there!

I am sending an ajax HTTP POST request from a Sencha Touch (ExtJS) application to an CI-controller and I wonder why I couldn't send a request back. do I have to set some kind of header or should I create a spevial view or how does this work?

thnx!
#2

[eluser]o.burger[/eluser]
o.k. - just found out that debugging with firebug on chrome isn't that nice. now using the debugtools of chrome. there is an error thrown which tells me: "XMLHttpRequest cannot load http://www.path-to-appsystem/index.php/loginMobile/ajax_validateLogin. Origin http://www.path-to-appsystem is not allowed by Access-Control-Allow-Origin."
#3

[eluser]o.burger[/eluser]
did some research and now I think this is a crossdomain problem. I think I need to configure my sencha script to use a proxy for the communication.




Theme © iAndrew 2016 - Forum software by © MyBB