http web request issues HELP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johnlim20088
    New Member
    • Jan 2007
    • 74

    http web request issues HELP

    Hi,

    Currenty I have a window based NET application running and have a following function to http post some data.

    string url = xxxx.aspx? parameter1=&par ameter2=&..etc

    WebRequest request = WebRequest.Crea te(url);
    request.Timeout =150000;
    WebResponse response = request.GetResp onse();
    StreamReader stream = new StreamReader(re sponse.GetRespo nseStream());
    Contents = stream.ReadToEn d();

    PROBLEM:
    My problem is that is ALWAYS operation timeout...

    CAN someone help me on THIS?
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Greetings, this is the .NET Articles section. This section is for useful articles
    only. Questions belong in the .NET Forums section. (see the blue menu bar
    near the top of this page). I'll move your question to the appropriate forum section.

    kind regards,

    Jos

    Comment

    Working...