Ravi Kumar
What is the difference between Server.Transfer and Response.Redirect?
By Ravi Kumar in ASP.NET on Nov 30 2006
  • sai
    Nov, 2006 30

    • Response.Redirect: This tells the browser that the requested page can be found at a new location. The browser then initiates another request to the new page loading its contents in the browser. This results in two requests by the browser.
    • Server.Transfer: It transfers execution from the first page to the second page on the server. As far as the browser client is concerned, it made one request and the initial page is the one responding with content. The benefit of this approach is one less round trip to the server from the client browser. Also, any posted form variables and query string parameters are available to the second page as well.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS