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 107 of 161    Print  
what is the difference between Server.Transfer() and Server.Execute()?

  
Total Answers and Comments: 3 Last Update: November 17, 2006     Asked by: GeekAdmin 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 07, 2006 14:14:21   #1  
balaji        

RE: what is the difference between Server.Transfer() a...

Hai

Server.Transfer() - It is used to redirect from page to another

Server.Execute()-It is used to execute the.rsp page.


 
Is this answer useful? Yes | No
October 16, 2006 06:17:15   #2  
sekhar singara        

RE: what is the difference between Server.Transfer() a...

Server.Transfer() --> It will redirect to the respected webpage without changing the URL.

Server.Execute()--> It will redirect to the respected webpage and back to the contaning page.

Ex: If(username TextBox1.Text)

{

Server.Execute(aaaa.aspx)

}

else

{

-----------------

------------------------

}


 
Is this answer useful? Yes | No
November 17, 2006 08:23:49   #3  
Alagappapillai        

RE: what is the difference between Server.Transfer() a...

Server.Transfer() Transfer control from current page to another page like as Response.Redirect().

Server.Execute() Control goto another process it and come back to same page . Like as subroutine (Sub program).


 
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