asp.net mvc - Best technique to track web page hit count and catch some abuse -
i have asp.net mvc web site database of songs. i'd track how many page views each song getting, don't want double count if people hitting multiple times day. if user goes song 10 times day, want count incremented once day.
at first, thinking of using sessions or else on server track won't work if deploy farm (since session per server , user might hit different servers). thinking of using cookies, want know if there other suggestions? (and if i'm use cookies, what's best way store info)
if these anonymous users, cookies best bet. have make sure they're not session cookies, expire once user closes browser.
Comments
Post a Comment