Manav Pandya
What is diffrence between Server.Transfer() vs Response.Redirect() ?
By Manav Pandya in ASP.NET on Sep 20 2016
  • Hariprasad Nagendran
    Feb, 2017 22

    Response.Redirect can be used for both .aspx and HTML pages whereas Server.Transfer can be used only for .aspx pages and is specific to ASP and ASP.NET. Response.Redirect can be used to redirect a user to an external website.Server.Transfer can be used only on sites running on the same server. You cannot use Server.Transfer to redirect the user to a page running on a different server.

    • 3
  • Parth Kale
    Oct, 2017 4

    Response.Reditect() - Can be used for .aspx (web forms) pages as well as HTML pages. We can also use this to redirect to external applications. Server.Transfer() - Mainly works for applications running on the same server.

    • 0
  • Mukesh Kumar
    Sep, 2017 3

    server.transfer workes within web forms while response.redirect works with html also

    • 0
  • Mukesh Kumar
    Sep, 2017 2

    Response. Redirect use for both HTML& aspx While server. Transfer used in aspx

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS