Uri MyUrl = Request.UrlReferrer; Response.Write("Referrer URL : " + Server.HtmlEncode(MyUrl.ToString()) + "<br>"); Response.Write("Referrer URL Port: " + Server.HtmlEncode(Request.Url.AbsoluteUri.ToString()) + "<br>"); Response.Write("Referrer URL Protocol: " + Server.HtmlEncode(MyUrl.Scheme) + "<br>"); Response.Write("Referrer IP: " + ClientIPAddress() + "<br>");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)