• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.