title: How to add values to zend registry in zend framework 2?
body: <p>I need to pass id to another controller action in the controller. I try to the save id in ZendRegistry and get it into the target class. </p>
  
  <pre><code>$id=$_POST[eid];
  Zend_Registry::set('id', $id);
  </code></pre>
  
  <p>I used above code but it isn't working. Please help me. Thanks.</p>