Saroj13
asked on
close MSXML2.ServerXMLHTTP.3.0 object asp
Hi , I am using ajax in classic asp. I would like to close the object of type MSXML2.ServerXMLHTTP.3.0 .
Set objXmlHttp = Server.CreateObject("MSXML 2.ServerXM LHTTP.3.0" )
objXmlHttp.open "GET", strUrl, false, "user", "123"
objXmlHttp.setRequestHeade r "Content-Type", "text/xml; charset=utf-8"
objXmlHttp.send()
if objXmlHttp.status = 200 Then
Set responseXML = CreateObject("Msxml2.DOMDo cument.3.0 ")
Response.ContentType = "text/xml"
Response.CharSet = "UTF-8"
responseXML.async = False
responseXML.load objXmlHttp.responseStream
responseXML.save Response
else
Response.write objXmlHttp.status
end if
Set objXmlHttp = Server.CreateObject("MSXML
objXmlHttp.open "GET", strUrl, false, "user", "123"
objXmlHttp.setRequestHeade
objXmlHttp.send()
if objXmlHttp.status = 200 Then
Set responseXML = CreateObject("Msxml2.DOMDo
Response.ContentType = "text/xml"
Response.CharSet = "UTF-8"
responseXML.async = False
responseXML.load objXmlHttp.responseStream
responseXML.save Response
else
Response.write objXmlHttp.status
end if
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.