Dear Alex,

you are right ! Thank you for the hint. Its great.
The Problem still persists, as I need to be able to contact another
Server. I tried to manipulate document.domain immediately before the
request is sent. It did not work.
Do you or anybody else have any ideas?

TIA
Raymond

-------- Weitergeleitete Nachricht --------
Von: Alexander Steitz <[email protected]>
Reply-to: "Steitz, Alexander" <[email protected]>, qooxdoo
Development <[email protected]>
An: [email protected]
Betreff: Re: [qooxdoo-devel] remote.Request on external Server
Datum: Fri, 18 Sep 2009 10:10:01 +0200


Hi Raymond,

On Friday 18 September 2009 Raymond Rösch wrote:
> I have a running environment for qooxdoo with an application that uses
> remote.Request on locahost
> But when I change the URL to the same Servers IP-Address or the one of
> another server, it does not even give an entry in the webservers access
> or error files.
> I suppose in that case the request is not sent.
I guess you running into the "Same origin policy" [0] issue. You are only 
allowed to execute requests to the server from which the javascript are files 
are coming from. So if you are serving your files from "localhost you are not 
allowed to contact the server at "10.31.2.100" with AJAX requests even if it's 
the same machine physically. 

Hope this helps you further.

cheers,
  Alex

[0] http://en.wikipedia.org/wiki/Same_origin_policy

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to