Answer: Both are objects of ASP.Net and are used to transfer user from one page to another page.
Syntax:
Response.Redirect("Default.aspx");
Server.Transfer("Default.aspx");
Server.Transfer() can directly access the values, controls and properties of the previous page whereas you cannot do with Response.Redirect().
Asked In: Many Interviews |
Alert Moderator