[Dojo-interest] Cross-site XHR via dojo.io.iframe?

Victor Danilchenko victor at askonline.net
Wed Apr 30 00:35:01 UTC 2008

James Burke wrote:
> A port change is considered a violation of the same origin security
> policies in the browser, so it will not work -- the parent document
> will not be able to access the document on a different port inside the
> iframe.

	Thanks. I guess i will work up a proxy-type solution then.

> On Tue, Apr 29, 2008 at 12:13 PM, Victor Danilchenko
> <victor at askonline.net> wrote:
>>         I thought it would be possible... I need to get a page from own server
>>  but different port, and i get a "permission denied" error. I thought
>>  using IFrame IO would do the trick... any idea what i am doing wrong?
>>  dojo.require("dojo.io.iframe");
>>     dojo.io.iframe.send({
>>             url:     myServer,
>>             timeout: myTimeout * 1000,
>>             handle:  function (data, err) {...}
>>         });

	Victor Danilchenko
	Senior Software Engineer, AskOnline.net
	victor at askonline.net - 617-273-0119

More information about the Dojo-interest mailing list