ASP.NET 2.0 Question:
Download Questions PDF

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

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 Interview Questions And Answers PDF

Previous QuestionNext Question
What is PreProcessor in .NET and type, where it use?ColumnMapping belongs to which namespaces?