public static string Referer { get { var context = HttpContext.Current; return context.Request.ServerVariables["HTTP_REFERER"]; } }