ASP Code to Get file causes server to lockup
Posted on 2012-12-31
I use code below to GET and show links from a remote site.
Everything works well when the remote site is up.
If the remote site fails to respond, it nearly "locks up" the server running the code below.
I need a method to time out this get after 5 seconds.
Code is as follows:
Dim objXML, strContents, arrLines
objXML.Open "GET", REMOTE_FILE_URL, False
Many Thanks in Advance, Greg