IIS6下Asp中的XMLHTTP的问题
在Windows 2003 IIS6先,类似下面的函数一旦调用,便没反应,是不是哪里要设置?
Function getHTTPPage(url)
dim objXML
set objXML = server.createobject("Msxml2.XMLHTTP")'定义
objXML.open "GET",url,false'打开
objXML.send()'发送
If objXML.readystate<>4 then '判断文档是否已经解析完,以做客户端接受返回消息
exit function
End If
'getHTTPPage = BytesToBstr(objXML.responseBody)'返回信息,同时用函数定义编码
getHTTPPage = objXML.responseBody
set objXML = nothing'关闭
if err.number<>0 then err.Clear
End Function
Function getHTTPPage(url)
dim objXML
set objXML = server.createobject("Msxml2.XMLHTTP")'定义
objXML.open "GET",url,false'打开
objXML.send()'发送
If objXML.readystate<>4 then '判断文档是否已经解析完,以做客户端接受返回消息
exit function
End If
'getHTTPPage = BytesToBstr(objXML.responseBody)'返回信息,同时用函数定义编码
getHTTPPage = objXML.responseBody
set objXML = nothing'关闭
if err.number<>0 then err.Clear
End Function
...全文


