title: How to generate random password, or temporary URL, for resetting password in Zend Framework?
body: <p>I have a basic authentication process that uses <code>Zend_Auth_Adapter_DbTable</code>. I have login and logout actions on my Authentication Controller. Now I want to create a function to reset forgotten passwords by automatically generating a password, saving the new password, and sending them an email with the newly generated password.</p>
  
  <p>What would be the best process to go about doing this? How should I generate a new password? Does the Zend Framework have anything that would make this easier?</p>
  
  <p>I have also heard about sending an email with a link to a short term page that lets them set a new password. How might this be done with the Zend Framework?</p>