Rudi Anto

Rudi Anto

  • NA
  • 2
  • 0

Multiple Response.Redirect

Jul 9 2009 2:08 AM

 Dear Friends,

 Now i have been making  smsgateway application with asp.net language,

 this application using a hardware box from the vendor but it very full customize

 with asp.net language, for send one sms message i just type this code
 Response.Redirect("http:\\myserver\sendsms.cgi?param=message")

  i want to send 5 sms in one times. I tried to loop the response.redirect

  for(int x = 0; x < 5; x++)
  {
  
   Response.Redirect("http:\\myserver\sendsms.cgi?param=message" + x.ToString())

 } 

 buy it's fail, only the last of loop executed. It's possible to loop response.redirect?

 or maybe you have any suggestion to solve this problem.

 Regards,
 Rudianto

Answers (2)