What is RedirectPermanent in ASP.Net 4.0?

 Posted by Tripati_tutu on 10/21/2010 | Category: ASP.NET Interview questions | Views: 4262 | Points: 40

In earlier Versions of .Net, Response.Redirect was used, which issues an HTTP 302 Found or temporary redirect response to the browser (meaning that asked resource is temporarily moved to other location) which inturn results in an extra HTTP round trip. ASP.NET 4.0 however, adds a new RedirectPermanent that Performs a permanent redirection from the requested URL to the specified URL. and returns 301 Moved Permanently responses.
E.g .

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response