Dojo支持跨域通信。
不过,由于受到浏览器的限制,该方法不允许跨域通信。
This approach, however, does not allow cross-domain communication because of restrictions imposed by the browser.
作为一种有效的跨域通信技术,JSONP能够绕过当前浏览器的同源策略限制。
JSONP as an effective cross-domain communication technique, by-passing the same-origin policy limitations.
JSONP是构建mashup的强大技术,但不幸的是,它并不是所有跨域通信需求的万灵药。
JSONP is a very powerful technique for building mashups, but, unfortunately, it is not a cure-all for all of your cross-domain communication needs.
在本系列的第1部分中,我们介绍了JSONP是一种有效的跨域通信技术,允许您绕过当前浏览器带来的同源策略限制。
In Part 1 of this series, we introduced JSONP as an effective cross-domain communication technique, one that lets you bypass the same-origin policy limitations imposed by the current browsers.
您将需要创建一个名为xd_receiver . htm的跨域通信通道文件并将其放在一个与这个回调url相关的目录内。
You will need to create a cross-domain communication channel file called xd_receiver.htm and place it in a directory relative to the callback URL.
的DHTML传道团队的Julien Lecomte,宣布发布“CrossFrame,一种安全的跨文档和跨域的通信机制”。
's DHTML Evangelist Team, has announced the release of " CrossFrame, a Safe Communication Mechanism Across Documents and Across Domains".
至于跨域的限制,跨文档进行消息传输的API非常有趣的允许跨源(cross -origin)通信,但是开发者需要非常小心的使用它,在任何时候确保安全性。
About cross-domain limitation, the cross Document Messaging API is interesting to allow cross-origin communication but the developer as to be very careful using it and ensure security at all time.
因为这个应用程序需要跨不同的域(应用服务器,邮件服务器)进行通信,所以需要使用Dojo的xhriframeproxy库。
Because the application requires communication across different domains (application server, mailing server), use Dojo's XhrIframeProxy library.
因为这个应用程序需要跨不同的域(应用服务器,邮件服务器)进行通信,所以需要使用Dojo的xhriframeproxy库。
Because the application requires communication across different domains (application server, mailing server), use Dojo's XhrIframeProxy library.
应用推荐