子域名是否会发生跨域问题? [英] does cross domain issue occur with sub domains?
本文介绍了子域名是否会发生跨域问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
跨子域也会出现子域问题吗?
例如:
我的网络服务托管在 service.mydomain.com
我的网络应用程序托管在 mobile.mydomain.com
中,我正在调用Web服务使用客户端脚本,这个跨域问题是否适用?
解决方案
是的!!它可能对你有所帮助
http://www.code-sample.com/2013/11/ajax-json-cross-domain-call-to-rest.html [ ^ ]
Does cross domain issue occur with sub domain also?
for ex:
I my web service hosted on "service.mydomain.com
" and my web app is hosted in "mobile.mydomain.com
" and I am calling the web service using the client side script, will this cross domain issue apply or not?
解决方案
Yes!! It might help you
http://www.code-sample.com/2013/11/ajax-json-cross-domain-call-to-rest.html[^]
这篇关于子域名是否会发生跨域问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文