Whenever you want to navigate user to some another page on same site or across sites Response.Redirect is used. ASP developers have used Response.Redirect since the days of ASP 1.0 to redirect the browser to another page. Perhaps, everybody thinks that this all occurs on the server and is thus a fairly efficient operation, but that's not how it works. When the ASP.Net engine encounters a Response.Redirect method, it stops the processing of the current page and sends an HTTP redirection header (302 Redirect) to the client, informing it that the page it requested has moved and can be found at a different URL. When this response is sent to the browser, the browser requests the new URL and the ASP engine sends the new page to the client. Thus, the redirection of a page using Response.Redirect requires an extra client/server round trip.
The page URL change with a Response.Redirect unlike Server.Transfer
|
No responses found. Be the first to respond and make money from revenue sharing program.
|