title: Zend Framework - Pass variable from one controller to another on redirect
body: <p>I have a small form in Zend Framework, and when it's sent and valid, I want to pass the $id to another controller where I will display some information about that id in another view.</p>
  
  <p>The form and validation is done, but I just can't seem to figure out how to pass the $id to another controller.</p>
  
  <p>I have the following code:</p>
  
  <pre><code>if ($this-&gt;_request-&gt;isPost()) 
      {       
          $formData = $this-&gt;_request-&gt;getPost(); 
          if ($form-&gt;isValid($formData)) {
              die($id);
          } else {
              $form-&gt;populate($formData);
          }
      }
  </code></pre>
  
  <p>And now it shows the id when valid, but I want to redirect it to lets say formAction, with the $id variable.</p>
  
  <p>Thanks!</p>