How to track visitors to your site in ASP.NET & C#

added by gsanthoshbe
3/26/2010 4:55:34 AM


Once you have published a site in ASP.NET, you'd like to know who are your visitors. One way is to check your event log on the host server. Another option is to write your own code. You'd basically like to log the IP address, and DNS name for the visitor, and it would be nice to know which page they are visiting. To log the ip address using ASP.NET, you can call: