Which of the following transfer execution directly to another page?
-
Server.Transfer
-
Response.Redirect
-
Both A) and B)
-
None of the Above
A
Correct answer
Explanation
Server.Transfer transfers execution directly to another page on the server side without requiring a round-trip to the client. It preserves the original URL and does not trigger a new HTTP request. Response.Redirect sends a 302 response to the client, causing a new request, which is slower and changes the URL.