Exemple #1
0
        public static string GetRefererURL(this HttpContext context)
        {
            var refURL = HttpUtility.UrlDecode(context.Request.QueryString[refererurl]);

            return(string.IsNullOrEmpty(refURL)
                ? CommonLinkUtility.GetDefault()
                : refURL);
        }