We use MSXML XMLHTTP and ServerXMLHTTP from VBScript to send a request to remote server. The request goes through proxy server (ISA Server). If a request takes a long time (more than 120 seconds), then the proxy server times out the connection. Is there a way to programmatically keep the connection alive?
You can use MSXML XMLHTTP/ServerXMLHTTP to send dummy "HEAD" requests on a different thread to the server in order to keep the connection alive.
Example VBScript code:
Set objXMLHTTP = CreateObject("MSXML2.XMLHTTP.4.0")
objXMLHTTP.open "HEAD", "http://www.yourserver.com/pageurl", False