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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is scope of an application variable in asp.net?

504


What is csrf attack in asp.net?

524


How does session work in asp net?

557


What is the difference between dispose() and finalize()?

501


Can you dynamically assign a Master Page?

590






What do you mean by serialize?

556


witch is the best insistute in sharpoint course.what abt future of share point course.

2556


how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool

1645


Is there any property names “isnavigating”?

581


Describe paging in asp.net?

678


What is a viewbag?

511


Can we set which type of comparison we want to perform by the CompareValidator control?

520


To wrap up a call to a Web service the standard used is..?

542


What are the advantages of the code-behind feature?

545


What is the difference between CLICK and MOUSE DOWN Event ?

587