http referrer indicates the previous page that has submitted data or linked to the new page
you can get it in ASP.NET using like
public static string GetReferrerPageName()
{
string functionReturnValue = null;
if ((((System.Web.HttpContext.Current.Request.UrlReferrer) != null))) {
functionReturnValue = HttpContext.Current.Request.UrlReferrer.ToString();
} else {
functionReturnValue = "N/A";
}
return functionReturnValue;
}