How to log my url of the sites visited
source code !!
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Jan 18, 2012, 9:06 AM
Please try the below one.
string RemoteSystemIP = Request.ServerVariables["REMOTE_HOST"].ToString();
string RemoteSystemName = System.Net.Dns.GetHostEntry(System.Web.HttpContext.Current.Request.ServerVariables["REMOTE_HOST"]).HostName;
Hope this helps you.