Chris,
I'm interested in this issue so I tried your code.
I get:
msxml3.dll error '80070005'
Access is denied.
Google pointed me to:
where he says that due to some updates and security patches and stuff the script should be using:
Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0")
Tried that and I get:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
I'm guessing I just must not have access or permissions on my limited hosting arrangement and I won't be able to get it to go, but I don't know.
Thoughts?
Thought you might be interested in the msmxl3.dll thing in any event.
_______________________
<%
function GetPageResponse(strURL)
Response.Buffer = True
Dim objXMLHTTP, xml
'Set xml = Server.CreateObject("Microsoft.XMLHTTP")
Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0")
xml.Open "HEAD", strURL, False
xml.setRequestHeader "User-Agent", "UpTime BOT"
xml.Send
GetPageResponse = xml.getAllResponseHeaders()
Set xml = Nothing
end function
%>
<p>Let's check espn.com.</p>
<p>response.write getPageResponse("
=
<%response.write getPageResponse("