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 / manjunath

1)response.redirect sends the message to the browser to
send to different pages while server.transfer will not send
the message rather redirect user directly to some differnt
page.
so there is no round trip in server.transfer but
response.redirect has the round trip puttind load on the
server.

2)server.transfer will not redirect to the different server
while response.redirect can redirect to any different
server.

3)server.transfer can store data using paramater
called "preserved form" , this query strings are available
in the next calling pages.In latter it is not possible.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differences between VS 2005, 2008 and 2010 ?

991


I am working with asp.net 2005 and Crystal report 10. I have an image field on my dataset to show on Crystal report.And the image is shows dynamically from database in image field of CR. The image field is showing well on my Crystal report on its first page with all other data but when i click to open second page of CR,it does not show any data on that.I found that this is because of adding the image field on crystal report. Because when i remove the image field from the CR then it will run both the pages of CR. I am using the Page Load event to bind CR data with Database. And i have already check with the Init event to bind CR , but it still not shows the data on second page when i use image field on that. Please give solution for that.....

1866


Explain about the base class library provided by microsoft.net?

1045


How do you handle this COM components developed in other programming languages in .NET?

1029


What is .net mobile lists. Explain with an example? : Microsoft dot net mobile

885


Explain the race around condition? How can it be overcome? : Dot net architecture

936


8. Oop-Why and were we use Interfacse and Abstract class.

2132


How do I know when my thread pool work item has completed?

907


What is the difference between an event and a delegate?

969


Explain the race around condition? : .NET Architecture

988


What is the difference between metadata and menifest ?

898


What is IL code, CLR, CTS, GAC & GC?

1015


deference between display and visibility property of CSS

2263


What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?

972


Explain about clr?

1028