title: How to prompt an alert box in cakephp?
body: <pre><code>&lt;?php $this-&gt;redirect(array('controller' =&gt; 'Users', 'action' =&gt; 'login', ));
  </code></pre>
  
  <p>I would like to redirect and prompt and alert box saying your registration was successfully.</p>
  
  <p>How should I modify this code?</p>