PostBackUrl Vs Response.Redirect
1 answer
PostbackUrl changes the form action , so the start page doesn't change, but when the user submits the form, its data is sent to another page.
Response.Redirect results in HTTP 302 Redirect . This is a generic redirect action, as opposed to the 301 redirect , which is used when you want to completely and permanently change the URL.
Server.Transfer does not actually activate HTTP requests and is completely transparent to the user. It is usually used to display error pages (like 404 or 500 HTTP statuses), because if you use a redirect instead of Server.Transfer, the browser (more importantly if it is a search engine crawler) will not get the original HTTP status (like 404 ).
+3
a source to share