Typically, web site traffic is measured in hits and time spent on the site. You can save yourself lots of trouble by hooking up Google analytics, which is very easy to do.
http://www.google.com/analytics/>Hello all, In my MVC app I would like to log ( in my database ) when the user opens the site and conversely closes it, I've managed to log when they open the site by putting code in the Application_Start() function but don't know where to put the log out code, I've tried the Application_End() but with erratic results ( i.e it sometimes fires ) where is the correct place to put the code ?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer