Feb 21, 2012 03:33 PM|gslakmal|LINK
I want records details of site visitors. I have create class and called it from my home controller like below
StaticHit hit = new StaticHit();
string strClientIP = Request.UserHostAddress;
hit.IpAddress = strClientIP;
hit.LoginDate = System.DateTime.UtcNow;
ServiceSatatics st = new ServiceSatatics();
But its record same user many time when user hit home page many time, How can i stop that?