zsharp
zsharp

Reputation: 13756

asp.net MVC, how to work with HTTPApplication class

How do I go about gathering site statistics in MVC? (users online.. etc?)

Upvotes: 1

Views: 1194

Answers (1)

twk
twk

Reputation: 3120

Typically, you can use the same techniques as for normal ASP.NET web apps: user's counter increment at OnSessionStart in global.asax or similar or you can write your own event handler to be put the request processing queque.

For offline statistics can use google analytics with their "sonda code" put into master page.

twk

Upvotes: 1

Related Questions