title: Zend_Form_Element_Hash random failures
body: <p>I have a load of ZF1 salted hash elements in various forms on my site and 99% of the time they work fine but occasionally they fail. This usually seems to happen after a redirect but not within the redirect hop. The form is created after the redirect in a separate action so I don't understand why the redirect would be affecting it. The forms that fail are generating their tokens correctly, they just don't match after the POST and validation.</p>
  
  <p>Any ideas?</p>
  
  <p>Hash element below:</p>
  
  <pre><code>$token = $this-&gt;createElement(
      'hash', 
      'token', 
      array('timeout' =&gt; 1440)
  );
  
  $token-&gt;setSalt($config-&gt;csrf-&gt;salt)
        -&gt;addErrorMessage('The session for this form has timed out.');
  
  $this-&gt;addElement($token);
  </code></pre>