Home > DeveloperSection > Interviews > What is the difference between Server.Transfer and Response.Redirect?

Posted on    December-17-2013 7:31 AM

 ASP.Net ASP.Net 
 1 Answer(s)
  1418  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    December-17-2013 1:00 AM

The Server.Transfer () method stops the current page from executing, and runs the content on the specified page, when the execution is complete the control is passed back to the calling page.

While the Response.Redirect () method transfers the control on the specified page and the control is never passed back to calling page after execution.

Don't want to miss updates? Please click the below button!

Follow MindStick