GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ADO.NET 2.0
Go To First  |  Previous Question  |  Next Question 
 ADO.NET 2.0  |  Question 14 of 19    Print  
What is the difference between server.transfer and response.redirect

  
Total Answers and Comments: 3 Last Update: December 02, 2008     Asked by: sambit 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: amitkumar316
 
  • Server.Transfer is for intra-site communication where as Response.Redirect is for inter-site communtication.
  • Response.Redirect is slow as compared to Server.Transfer
  • User knows about the redirection of page in Response.Redirect as the URL changes but it is not so in Server.Transfer.


Above answer was rated as good by the following members:
seemu123, foxfire
July 12, 2007 00:47:59   #1  
ramakrishnag1982 Member Since: November 2006   Contribution: 12    

RE: What is the difference between server.transfer and...

Transfer is more efficient over the Response.Redirect because Response.Redirect causes a round trip to server as the page is processed once again on the client and a request is made to server there after.



 
Is this answer useful? Yes | No
February 14, 2008 20:05:15   #2  
amitkumar316 Member Since: February 2008   Contribution: 9    

RE: What is the difference between server.transfer and response.redirect
  • Server.Transfer is for intra-site communication where as Response.Redirect is for inter-site communtication.
  • Response.Redirect is slow as compared to Server.Transfer
  • User knows about the redirection of page in Response.Redirect as the URL changes but it is not so in Server.Transfer.

 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 1Overall Rating: +1    
December 01, 2008 19:22:51   #3  
adib4u2000 Member Since: November 2008   Contribution: 4    

RE: What is the difference between server.transfer and response.redirect
One more thing...
Server.Transfer supports only ASPX pages but Response.Redirect applies even HTML pages

 
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