Last post Jun 17, 2008 02:57 AM by ak.shetty
Jun 16, 2008 06:34 AM|ujwala_mahure|LINK
i want to hit on url by post method in asp.net. If i dont get reponse from that url within 20 minute it should display the message.
Jun 16, 2008 08:17 AM|ak.shetty|LINK
There are so many methods to do this... One of the simplest way which i implimented in one of my project is as follows.
2) Flush the response content
3) Execute the process which may take more than 20 mins.
Jun 17, 2008 12:58 AM|ujwala_mahure|LINK
Jun 17, 2008 02:57 AM|ak.shetty|LINK
Use System.net.HttpWebRequest method to post the data and get response instead of WebClient.
You have a Timeout property in HttpWebRequest for setting number of miliseconds to wait before the request times out (20000).