How To get Referrer URL or the previous page url in ASP.NET?

 Posted by Vishalneeraj-24503 on 4/25/2015 | Category: ASP.NET Interview questions | Views: 1742 | Points: 40
Answer:

We will use Request.UrlReferrer property to get previous page URL.
string Previous_Page_URL = Request.UrlReferrer.ToString();


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response