.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Server.Transfer vs Server.Execute

Posted By: Ramesh     Posted Date: December 26, 2008    Points:2   Category :ASP.Net
What is the difference between server.transfer vs server.execute?

Please help me understand the concept of Server.Transfer and Server.Execute.

Any help would be appreciated?

Author: Praveen             
Posted Date: December 26, 2008     Points: 5   

Server.Execute will execute the page destination Page and return back to the caller page that means user will not see the page which is there in Server.Execute.

Server.Transfer method will transfer the page to the destination page. That means User will able to see the Destination Page if any page defined in Server.Transfer Method.

Server.Transfer transfer the page within the server itself so round trip is saved and user can not able to see the destination Page URL in the Browser

Author: Kumar             
Posted Date: December 28, 2008     Points: 5   


Pls refer

Server.Transfer(): It ends up the execution of current form and begins execution with new web form

Server.Execute():it begins execution with new web form but it still holds current web form .With the help of this we can combine the result of two web forms.

thanks and regards,

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend