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<>"OK" Then
sTxt="FAILED"
Else
sTxt="ok"
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
Set objhttp = Server.CreateObject ("Microsoft.XMLhttp"

objhttp.open "GET", strURL, False
objhttp.send
sHTML=objhttp.statusText
If err or sHTML<>"OK" Then
sTxt="FAILED"
Else
sTxt="ok"
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