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

J

jmk

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
 
C

Cowboy \(Gregory A. Beamer\)

I am not sure what hte difference is between the methods you are asking
about and not sure if I have the time to look it up any time soon. I would
have to see code to get a better idea of what you are doing, as well.

You will most likely want to go with an asynchronous call to the SMS service
rather than synchronous. This will get you past the timeout issue no matter
what you use to return messages.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top