Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Beginning AJAX question

Status
Not open for further replies.

jaschulz

Programmer
May 20, 2005
89
FR
My HTTPRequest always returns status = 0 (which is not even listed on the WC3 page of possible responses).

I am retrieving a simple text file, and the responseText does contain the text I want. So my function works even though the status is 0.

What does status = 0 mean? Is this a real problem?

Thanks,

JAS
 
Using:

if (http_request.status == 200 || http_request.status == 0)...

lets me test locally in FF and Safari and Opera (which is important to me) but IE7 still gives the "access denied" error. Is there anyway around that?

JAS
 
You should examine its security zone(s) setting on "access data sources across domain". If it is squarely forbidden, lower it to at least "prompt".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top