title: Zend_Auth and dynamically changing user details on the UI
body: <p>When my users are logged in I display their details (name, email) on the UI.  When they update their profile, I would like to show the <em>updated</em> details, without requiring the user to log out and back in.</p>
  
  <p>The UI details are retrieved from Zend_Auth via a view helper.  Zend_Auth is storing the 'identity' details in a session.</p>
  
  <p>How should I go about updating the details in the session?:</p>
  
  <ul>
  <li><p>I was considering retrieving the user's login credentials from the database and using them to call Zend_Auth->authenticate() again.  The problem is that I don't know the password, only it's md5 hash.  I could consider a new method, reauthenticate(), which configured the adapter to bypass the md5 and salt, but this sounds laborious.</p></li>
  <li><p>I was considering writing directly to the Zend_Auth session namespace, but this sounds like a recipe for trouble?</p></li>
  </ul>
  
  <p>Have you come across a similar problem?  How did you handle it?</p>
  
  <p>Your ideas are much appreciated!</p>