title: Loop all Magento Cookies & Delete
body: <p>I have a Magento site with a location to IP plugin. It uses cookies heavily. Because of this, I need to clear all cookies magento sets. I have what I believe is the correct code but it's not working:</p>
  
  <pre><code>$cookies = Mage::getModel('core/cookie')-&gt;get();
  foreach($cookies as $cookie)
  {
       Mage::getModel('core/cookie')-&gt;delete($cookie-&gt;name, $cookie-&gt;path);   
  }
  </code></pre>
  
  <p>Some cookies are set on the path '/' and some on /another'. I would like to clear all to avoid any confusion.</p>
  
  <p>Any ideas on how I can do this? Thanks!</p>