Forum Moderators: open

Message Too Old, No Replies

XMLHTTP error

         

treeTop

2:40 pm on Jul 30, 2004 (gmt 0)

10+ Year Member



I am instantiating XMLHTTP object in javascript. I am using something like this...
var xmlHTTP = new ActiveXObject("Msxml2.XMLHTTP.4.0");
xmlHTTP.open("GET","https:/www.someurl.com", false);
var returnValue = xmlHTTP.responseText;

I am getting access denied error at line 2 at xmlHTTP.open call. Although this when I run locally (by giving file path instead of url) works well.

Any help is appreciated. Thanks in advance.

Rambo Tribble

4:17 am on Jul 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't know much about ActiveX, but I have to wonder if the https security protocol of the URL isn't involved in the problem.