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 |
How to upload a file using file upload control inside the Update Panel???
For a webapplication if i want to gice access controls like admin,users how can i give security like rolebased?
What is MSIL?
What is the syntax for datagrid and specifying columns ?
How to add DateTime Control in normal DataGrid Server Control?
what does Page.IsValid in asp.net
6 Answers Infosys, Net Solution,
Can we throw exception from catch block ?
4 Answers Accenture, BirlaSoft,
How do I create a web form?
Why we use asp.net for website development?
Explain culture and uiculture values.
What is JIT and how is works ?
How can you implement encapsulation in asp.net?