Differentiate between Server Transfer and Response

Answers were Sorted based on User's Feedback

Answer / srujana

Server Transfer :
1. To transfer page processing from one page directly to
the next page without making a round-trip back
to the client's browser we use Server Transfer .
2. Server Transfer provides a faster response with a little
less overhead on the server.
3. The clients url history list or current url is not
updated by the Server Transfer.

Response Redirect :
1. To redirect the user's browser to another page or site
Response.Redirect is used.
2. This performs a trip back to the client where the
client's browser is redirected to the new page.
3. The user's browser history list is updated to reflect
the new address.

Is This Answer Correct ?    21 Yes 0 No

Answer / lalit

Server Transfer can only redirect to the pages (URL)which
are available within that server and can carry the control
state while transferring.

Response Redirect allows you to transfer to the pages (URL)
which might or might not available in that web server. and
cannot carry the control state while transferring.

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

How do you do exception management

1 Answers   Infosys,

if i have a web page, and after the postback i dont to maintain the viewstate. How can we maintain in web application?

4 Answers   CGI,

Which tool you have done?

0 Answers  

How can you achieve nested Masterpages in 2.0?

1 Answers   Microsoft,

Difference between ADO.net Dataset , ADO Record Set & ADO Data Reader?

3 Answers   HCL, NIIT,

Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal

0 Answers  

How you will handle session when deploying application in more than a server? Describe session handling in a webfarm, how does it work and what are the limits?

3 Answers   CoreObjects,

How to change the form layout in ASp.net 2.0 ?

1 Answers   Netsweeper,

i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?

0 Answers  

How to Convert a String into Float without using any built- in library of .NET String = "1235.45" needs to converted to a float

2 Answers   CA, Microsoft,

How many web.copnfig can exists in a web application & which will be used ?

3 Answers   MMTS,

Whats an assembly?

5 Answers