title: Yii cookie not being deleted on logout
body: <p>I am using the Yii framework and I currently have a problem where on logout, the associated cookie does not seem to be deleted. This only seems to occur when the user has selected "remember me". This is causing users to automatically log in again, after logging out.</p>
  
  <p>I'm working on a dating site, so this is quite a big problem as people may visit while at internet cafe's etc.</p>
  
  <p>I have not changed the default logout method, but have changed the session in config. I have configured as following, to allow sessions to be carried across our multiple servers and services.</p>
  
  <pre><code>'session' =&gt; array(
      'class' =&gt; 'system.web.CDbHttpSession',
      'connectionID' =&gt; 'db',
      'autoCreateSessionTable' =&gt; false,
      'sessionName' =&gt; 'name', // renamed for privacy
      'cookieMode' =&gt; 'allow',
      'cookieParams' =&gt; array(
          'path' =&gt; '/',
          'domain' =&gt; '.domain.com', // renamed for privacy
          'httpOnly' =&gt; false,
      ),
  ),
  </code></pre>
  
  <p>I can't seem to find a solution for this, nor anyone with a similar problem.</p>
  
  <p>Wondering if anyone has any idea what's going on.</p>