ASP.NET 2.0 Question:
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.
Response.Redirect will instruct browser to call a particular webpage.This will increase one request and one response between the client and server.
Previous Question | Next Question |
What is PreProcessor in .NET and type, where it use? | ColumnMapping belongs to which namespaces? |