1.

What is the difference between Server.Transfer and Response.Redirect?

Answer»
Response.Redirect
SERVER.Transfer
when we want to transfer the information from one page to another page of the same server
when we want to transfer the data to an HTML page of own server or to some other server
it doesn’t require the QUERY string to PRESERVE the data
It never persists Query Strings and Forms Variables from original request
It causes additional round trips to the server on each request
It preserves server resources and avoids the unnecessary round trips to the server
In this, we need to show the URL  to the user where we are redirecting
the current URL where the page is redirected is not SHOWN in the BROWSER


Discussion

No Comment Found