Hello,
New to the forums. This looks like a place I can get some answers. I am passing a URL through my VBScript with a HTTPPost function, which works great, except when the server (website) lags, it also lags the software in which this script is run. Basically I am trying to get my script to pass a URL to the server without causing lag to the client. I am assuming this has to be done asyncronously, in which case I have hit a roadblock. Any help is appreciated. Thank you.
My script/function:
sUrl = "sRequest = "u=" & UserID & "&p=" & Password & "&f=11&c=clr all"
HTTPPost sUrl, sRequest
Function HTTPPost(sUrl, sRequest)
set oHTTP = CreateObject("Microsoft.XMLHTTP")
oHTTP.open "Get", sUrl & "?" & sRequest ,false
oHTTP.setRequestHeader "Content-Type", "application/x- oHTTP.send
HTTPPost = oHTTP.responseText
End Function
New to the forums. This looks like a place I can get some answers. I am passing a URL through my VBScript with a HTTPPost function, which works great, except when the server (website) lags, it also lags the software in which this script is run. Basically I am trying to get my script to pass a URL to the server without causing lag to the client. I am assuming this has to be done asyncronously, in which case I have hit a roadblock. Any help is appreciated. Thank you.
My script/function:
sUrl = "sRequest = "u=" & UserID & "&p=" & Password & "&f=11&c=clr all"
HTTPPost sUrl, sRequest
Function HTTPPost(sUrl, sRequest)
set oHTTP = CreateObject("Microsoft.XMLHTTP")
oHTTP.open "Get", sUrl & "?" & sRequest ,false
oHTTP.setRequestHeader "Content-Type", "application/x- oHTTP.send
HTTPPost = oHTTP.responseText
End Function