GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET 2.0
Go To First  |  Previous Question  |  Next Question 
 ASP.NET 2.0  |  Question 117 of 161    Print  
what is the difference between Response.Redirect and Server.Transfer

  
Total Answers and Comments: 3 Last Update: February 01, 2008     Asked by: christopher3_83 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 04, 2007 12:45:20   #1  
dev_baghel11        

RE: what is the difference between Response.Redirect a...
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.
 
Is this answer useful? Yes | No
January 11, 2008 09:14:46   #2  
jdoggz316 Member Since: February 2007   Contribution: 3    

RE: what is the difference between Response.Redirect and Server.Transfer
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.
 
Is this answer useful? Yes | No
February 01, 2008 15:04:29   #3  
bosemuruga Member Since: February 2008   Contribution: 3    

RE: what is the difference between Response.Redirect and Server.Transfer
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

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape