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

Answers were Sorted based on User's Feedback



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

Answer / ganesh

Server.Transfer transfers page processing from one page
directly to the next page without making a round-trip back
to the client's browser. This provides a faster response
with a little less overhead on the server. Server.Transfer
does not update the clients url history list or current url.
Response.Redirect is used to redirect the user's browser to
another page or site. This performas a trip back to the
client where the client's browser is redirected to the new
page. The user's browser history list is updated to reflect
the new address.

Is This Answer Correct ?    10 Yes 2 No

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

Answer / ish rastogi

server.transfer is provide faster redirect way for the web
page in comparable to the response.redirect beacuse in te
case of server.transfer ,the page is redirect (one page to
another page)directly from the server means no round
triping is used.but in the case of response.redirect
firstly the client(browser)send the page request to the
server and the server send the request to the page means
one round triping process is used.
in the server.transfer the page can be redirect from
first page to the second page(continuousally)but in
response.redirect the page can be redirect from first page
to any page.

Is This Answer Correct ?    1 Yes 2 No

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

Answer / sandeep

Response.Redirect can be use with different servers.
Server.Execute use with same server..we can not redirect to
another page which consist different server but in
Response.redirect we cn do so.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More ASP.NET Interview Questions

Difference between Dataset and DataReader ?

4 Answers   Accenture, BirlaSoft, Infosys, Microsoft, Techseol,


What is the name of the process the browser uses to find the address of a web server? a) DMZ b) DNS c) Active Directory d) Database lookup

1 Answers   Syntax Softtech,


What’s the use of “GLOBAL.ASAX” file?

0 Answers  


How to check the end of the record in Datareader?

2 Answers   Cognizant,


What symbol would you use to denote, the start of a code block in aspx views?

0 Answers   NA,






What is view state? where it stored? can we disable it ?

1 Answers  


what is page life cycle state management postback cross page postback types of feilds in gridview gridview events their life cycle cte in sql diff truncate and delete paging concepts in gridview diff bet gridview datalist and repeater what new operations in sql 2005 compared to earlier you get

1 Answers   e4e,


what is <location> tag?

2 Answers  


Explain the concept of MVC Scaffolding?

0 Answers   B-Ways TecnoSoft,


Define authentication and authorization.

0 Answers  


What does ascx stand for?

0 Answers  


When working with ASP.Net server controls, it is important to use the right event handlers to capture the event for the application to function properly. What event would you use to capture the selection of a new item in a DropDownList control? a) The Click event. b) The SelectionChanged event. c) The SelectionIndexChanged event. d) The ChangedSelection event.

4 Answers   Syntax Softtech,


Categories