What is the difference between server.transfer and response.redirect

Showing Answers 1 - 12 of 12 Answers

  • Server.Transfer is for intra-site communication where as Response.Redirect is for inter-site communtication.
  • Response.Redirect is slow as compared to Server.Transfer
  • User knows about the redirection of page in Response.Redirect as the URL changes but it is not so in Server.Transfer.

Server.transfer: Method ends the current webform and will executes the next webform.


Response.redirect: it helps to navigate between the webforms through code and this is equal to clicking a hyperlink..

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions