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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XMLhttp

Status
Not open for further replies.

craigey

Technical User
Apr 18, 2002
510
GB
I'm trying to use the XMLhttp object tpo return the status of a webpage. Part of the code I'm using is below:

Set objhttp = Server.CreateObject ("Microsoft.XMLhttp")
objhttp.open "GET", strURL, False
objhttp.send
sHTML=objhttp.statusText
If err or sHTML<>&quot;OK&quot; Then
sTxt=&quot;FAILED&quot;
Else
sTxt=&quot;ok&quot;
End if
Set objhttp=nothing %>

It works perfectly at home on my dial-up modem. Only thing is I can't get this to work on my Work IIS server as all the reults come back saying Failed. I think this is due to a port restriction on our proxy server. Does anyone know which port xmlhttp works on? or another way to get around this?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top