title: Cakephp unique view count
body: <p>I'm trying to make my view count only counting unique visitors.</p>
  
  <p>In my Item Controller of Cakephp 2.x I have the following:</p>
  
  <pre><code>function view($slug = null) {
      [...]
      $this-&gt;Item-&gt;updateAll(
          array('Item.hits'=&gt;'Item.hits+1'),
          array('Item.slug'=&gt;$slug)
      );
  }
  </code></pre>
  
  <p>This adds +1 to the hit column and works fine.
  The flaw is, that clicking the view many times increases the count.</p>
  
  <p>Any idea how I could make a unique count?</p>
  
  <p>Thanks in advance</p>