title: View counter in ASP.NET MVC
body: <p>I'm going to create a view counter for articles. I have some questions:</p>
  
  <ol>
  <li><p>Should I ignore article's author
  when he opens the article? </p></li>
  <li><p>I don't want to update database each
  time. I can store in a
  <code>Dictionary&lt;int, int&gt;</code> (articleId, viewCount) how many times
  each article was viewed. After 100
  hits I can update the database.</p></li>
  <li><p>I should only count the hit once per
  hour for each user and article. (if
  the user opens one article many
  times during one hour the view count
  should be incremented only once).</p></li>
  </ol>
  
  <p>For each question I want to know your suggestions how to do it right.</p>
  
  <p>I'm especially interested how to do #3. Should I store the time when the user opened the article in a cookie? Does it mean that I should create a new cookie for each page?</p>