Differentiate between Server Transfer and Response
Redirect?




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 to kill more than one session variables at a time

9 Answers   iSoft,


What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

0 Answers  


What is the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"?

1 Answers   Innvectra,


Tell about WebService in Asp.Net?

5 Answers   CTS, Accenture,


Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.

5 Answers   ADITI, Syntax Softtech,


Which tools of web site Administartion tool do you use to manage user,roles and rules?

2 Answers  


What does assemblyinfo.cs file consist of?

2 Answers   HCL, Accenture,


What does the following SQL statement return, assuming that all tables and column names are correct? SELECT FirstName, StreetAddress FROM Employees JOIN AddressBook ON Employees.EmpID = AddressBook.EmpID a) Nothing, the JOIN syntax is wrong. b) All the records form the Employees table, and only the matching ones form the StreetAddress table. c) All the records from the StreetAddress table and only the matching records form the Employees table. d) Only the matching records from the two tables.

4 Answers   Syntax Softtech,


What is the difference between User Controls and Master Pages

22 Answers   IBM, TCS, Deloitte, IntraLogic, Markit,


How do you trap errors in ASP and how do you invoke a component in ASP ?

1 Answers   Cognizant,


differences between class inheritance and interface?

2 Answers  


which is best possible way to add data source to data grid when the data is huge(10 lack recored)how to edit a perticular row

3 Answers   Airtel, Aviva,




Categories