那么IE7不支持CORS(跨起源资源共享)。但是,由于我的应用程序的性质,我不得不做出一个跨域ajax的职位。有没有办法让这个在IE7的工作?不幸的是,我不能使用出于安全考虑,服务器端代理。也许使用iframe?
So IE7 does not support CORS (cross origin resource sharing). However, due to nature of my app, I have to make a cross domain ajax post. Is there some way to get this to work in IE7? Unfortunately, I cannot use a server side proxy for security reasons. Perhaps using an iFrame?
我忘了提,但我控制的其他服务器也。
I forgot to mention, but I control the other server also.
被开发的易XDM库解决了跨起源问题:
The Easy XDM library was developed to solve the cross origin problem :
easyXDM是一个JavaScript库,使您作为开发人员可以轻松地解决此限制,通过同源策略设置到位,进而使得它容易沟通和跨域边界暴露的JavaScript API的。
easyXDM is a Javascript library that enables you as a developer to easily work around the limitation set in place by the Same Origin Policy, in turn making it easy to communicate and expose javascript API’s across domain boundaries.
我没有使用它,但我们可能要尝试解决一个HTTP / HTTPS Ajax调用问题...
I didn't use it yet, but we might have to try it to solve a Http / HTTPS Ajax call problem...
希望有所帮助。
的利益,其他线程:
阿贾克斯HTTP / HTTPS的问题 AJAX,子域和SSL Ajax http / https problem AJAX, Subdomains, and SSL