ASP.NET 2.0 Question:

What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?

Tweet Share WhatsApp

Answer:

Server.Transfer is used when redirecting the webpage with in the same applicationwhereasResponse.Redirect is applicabletowards the redirection of webpage between 2 applications

Response.Redirect will instruct browser to call a particular webpage.This will increase one request and one response between the client and server.

Download ASP.NET 2.0 PDF Read All 87 ASP.NET 2.0 Questions
Previous QuestionNext Question
What is PreProcessor in .NET and type, where it use?ColumnMapping belongs to which namespaces?