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

Answer Posted / rohan more

Incase of Server.Transfer ,it doesnot cause rod trip to
client and also it does not store url history and directly
redirect to the requested page without changing URL(Please
note).It transfer from Server itself.

where as in case of Response.redirect it cause round trip
to client browser and then transfer from page which cause
request to redirected page.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various types of validation controls provided by asp.net?

540


What are the options in ASP.NET to maintain state?

617


Explain the main differences between asp and asp.net?

515


Is there any limit for query string? Means what is the maximum size?

487


What is the maximum number of classes that can be contained in one dll file?

679






Can you explain how ASP.NET application life cycle and page life cycle events fire?

568


What parameters can you pass in the url of the api? Can get and post use the same url?

556


What's the ASP.Net Application life cycle?

566


Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?

563


How to create multi language website in asp.net mvc? : Asp.Net MVC

492


Explain the various authentication mechanisms in asp.net.

491


What is xaml? Are xaml file compiled or built on runtime?

527


What are directives in asp.net? List down all the important directives.

500


What is a session government?

503


hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.

1265