title: Secure cookies prevent login in PHP/Zend
body: <p>Has anyone used the directive session.cookie_secure when also using 
  Zend_Captcha_Image? When enabled, every time I try to login it fails.  Essentially 
  each request is treated as a new session, therefore failing the captcha verification even when I type it in correctly. I have been using Zend_Captcha_Image for several months without any problems and when the session.cookie_secure directive is removed, it works fine.</p>
  
  <p>I have tried just using the session.cookie_secure directive in the php.ini 
  file. (this is not how I'm doing it now, but I included it here so you know).</p>
  
  <p>Currently I'm calling <code>Zend_Session::setOptions(array('cookie_httponly' =&gt; true, 'cookie_secure'   =&gt; true ));</code> in the application bootstrap. I have turned on &amp; off <code>resources.session.cookie_secure = true</code> to no avail.</p>
  
  <p>Does anyone have any ideas?</p>