What is the difference between Server.Transfer() and Server.Execute()?

Questions by GeekAdmin   answers by GeekAdmin

Showing Answers 1 - 5 of 5 Answers

balaji

  • Oct 7th, 2006
 

Hai,

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

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

  Was this answer useful?  Yes

sekhar singara

  • Oct 16th, 2006
 

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

{

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

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

  Was this answer useful?  Yes

Alagappapillai

  • Nov 17th, 2006
 

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).

  Was this answer useful?  Yes

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