Thanks Thomas. Finally I fixed this issue.
I changed the url from "http://mydomain.com/tools/gwt/mylogic.php?q=" to "/tools/gwt/mylogic.php?q=". RS On Sep 18, 11:41 am, Thomas Broyer <[email protected]> wrote: > On Sunday, September 18, 2011 3:49:59 PM UTC+2, RShekhar wrote: > > > I have a GWT script which needs to get data from a PHP file kept on > > the same server (Domain). Everything works fine on my local server > > i.e. no SOP issues but when I transfer all the files to production > > server I get getStatusCode() = 0 with empty response. > > […] > > > Request Headers > > Host mydomain.com > > […] > > > Refererhttp://www.mydomain.com/tools/gwt/index.html > > Originhttp://www.mydomain.com > > www.mydomain.comis not the same as mydomain.com; it *is* a SOP issue. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
