Response.Redirect not working

Hi,
I am new to this site and have a problem with C# Response.Redirect.
Running in Debug mode I do not have a problem but when I deploy to an Windows 2003 IIS (running 3.5) I get the problem.
Here is the code:
It works fine on the server if I hard code the URL and sending strings in "...".
Response.Redirect("http://partner.consumerresourcenet.com?time=2009-12-06-21-59-06&key=E12E492C6C708786A2CBC7F72ADCB8114B09A785");

This does not:
Response.Redirect(String.Format("http://partner.consumerresourcenet.com?time={0}&key={1}", ToSend.ToString(), passwordHashSha1.ToString()));

It does launch the URL but does not send the parameter strings succssfully.
Please help, thank you

Tom
 
Forget the above problem. I solved it via setting in IIS.
I was getting a timeout. I changed the timeout setting from 80 to 900 and now it works fine. -Thank you
 
Back
Top