Jquery 'permission denied' error for JSON call between HTTP and HTTPS
I have a login control on my homepage (http://www.xyz.com) which makes a JSON login request over HTTPS (https://www.xyz.com/json.ashx). This seems to work fine in Firefox and IE7. But IE8 gives a 'permission denied' error for jquery.m开发者_运维知识库in.js
I have verified that this call works fine if its solely over http or https.
Is the call considered 'cross-domain' if it is between the http and https sections of the site? How can I resolve this problem?
Thanks, Murali
To illustrate 'cross-domain', the following table gives the overview of typical outcomes for checks against the URL "http://www.example.com/dir/page.html". alt text http://img682.imageshack.us/img682/7650/crossdomain.gif
source
Yes I believe it would be considered cross domain, or cross protocol. Can you load in the script from the https domain, even if you're looking at the http domain. I have a feeling that might work.(competely untested just a hypothesis).
精彩评论