Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Explain how can we inherit a static variable?

1073


What is the parent class of all the web server control?

952


What is Web API?

1171


In a Repeater control how one can provide an alternating color scheme ?

1085


What is user control in asp.net?

1096


What is asp.net futures?

1101


What is virtual directory in asp.net?

1054


Using code explain Configuration Management

1995


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

983


What is synchronous and Asynchronous post back ?

1122


What is a session in programming?

1089


What is the difference between table and query?

975


Can action method static?

1047


Where session id is stored?

987


How can we identify that the page is post back in asp net?

940