What the difference between reponse.redirect(strMessage) andwebClient.Downloaddata(strMessage)?

Discussion in 'ASP .Net Web Controls' started by jmk@larvikbanken.no, Aug 31, 2008.

  1. Guest

    I'm trying to use an external SMS-service through .NET Framework 1.1
    and using the webClient.DownloadData(strMessage) method. The
    strMessage is a string consisting the parameters to send a message,
    and the return-value to the DownloadData method is to be a status code
    for the requested message. However, using this method causes a
    connection-timeout from the SMS-service. Sending the same strMessage
    using reponse.redirect(strMessage) sends the message as exected and
    displays the status code in the browser-window. What is the difference
    between these two methods regarding the request to the SMS-service? Is
    there som change in the request that causes the timeout, or am I using
    the downloadData method wrong?


    regards,
    John Martin
     
    , Aug 31, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Simon Prince
    Replies:
    1
    Views:
    595
    Bobby Ryzhy
    Jul 14, 2004
  2. RayAll

    Reponse.Redirect ()

    RayAll, Apr 18, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    2,971
    Gabriel Lozano-MorĂ¡n
    Apr 18, 2005
  3. =?Utf-8?B?SklNLkgu?=

    Q: Reponse.Redirect

    =?Utf-8?B?SklNLkgu?=, Jun 23, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    638
    Kevin Spencer
    Jun 23, 2005
  4. Samuel Shulman

    Reponse.Redirect Using the POST Method

    Samuel Shulman, Nov 28, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    554
    Cowboy \(Gregory A. Beamer\)
    Nov 28, 2006
  5. Replies:
    1
    Views:
    294
    Cowboy \(Gregory A. Beamer\)
    Sep 2, 2008
Loading...

Share This Page