When posting data to a web server, I get an Error 53 more often than not. Problem is, I don't have a way to tell if the data was posted but the response was lost, or if the post itself never made it to the server. Can anyone clarify with certainty just what this error tells me? If the data did not make it, I want to try again...if it did, I really do not want duplicate entries, but how do I know?
The code I use is in vb.net 2010 and looks like this:
xmlHTTP = New MSXML2.XMLHTTP
xmlHTTP.open("POST", strURL, False)
xmlHTTP.setRequestHeader("Content-Type", strContentType)
orderForm.lblStatus.Text = "Checking Info >>>"
System.Windows.Forms.Application.DoEvents()
xmlHTTP.send(strPost)
strResponse = xmlHTTP.responseText
In my code (shown above) I get the Error 53 on the xmlHTTP.send(strPost) line.