What is the difference between Response.Redirect and Server.Transfer

Questions by christopher3_83

Showing Answers 1 - 5 of 5 Answers

dev_baghel11

  • Sep 4th, 2007
 

By using response.redirect another page is loaded means URL changes but by using server.transfer only data is loaded on the same page URL remains same.

jdoggz316

  • Jan 11th, 2008
 

To further clarify, a response.redirect has a round-trip involved in that the response sends back an HTTP 100 Continue Status code, and the client loads the new url, whereas Server.Transfer passes the execution of the page on to the specified page instance, which then is loaded and returned in the context of the original request.

  Was this answer useful?  Yes

bosemuruga

  • Feb 1st, 2008
 

Response.Redirect

Page redirect to another page.
Value display another page.
It's allow referesh the page.
It's support for Html Page.
We can see the query string value in browser

Response.Transfer

Page Redirect to same Page.
Value dispaly same page.
It's doesn't allow refersh the page.
It's doesn't support for Html Page
We can't see the query string value in browser

  Was this answer useful?  Yes

vikas shrivastava

  • Nov 22nd, 2011
 

by response.redirect we can navigate to another page in same site as well as different site .but by server.transfer we can only navigate only the page that exist in same web site

  Was this answer useful?  Yes

neeraj deshwal

  • Dec 9th, 2011
 

Response.redirect is used like get method method in which we can see all information or address where we will be go .
Server.transfer is used like post method, In this one cannot see full address between pages. So, this is more secured.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions