Re: HTTP Web Response Exception - Time Out Error I have code as follows -
href = "URL"
// Create a request for the URL.
WebRequest request = WebRequest.Create(href);
//Set the USerAgent
((HttpWebRequest)request).UserAgent = "msie";
// Get the response.
WebResponse response = request.GetResponse();
Sometimes the code "WebResponse response = request.GetResponse();" is giving time out error.
Please let me know how can I handle this situation.
__________________ Venkat knowledge is Power |