WHICH METHOD HAS BEEN INTRODUCED IN ASP.NET 4.0 TO REDIRECT A PAGE PERMANENTLY?

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
 1238  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    Which method has been introduced in ASP.NET 4.0 to redirect a page permanently?

    The RedirectPermanent() method added in ASP.NET 4.0 to redirect a page permanently. The following code snippet is an example of the RedirectPermanent() method:

    RedirectPermanent("/path/Aboutus.aspx");

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!