Cakephpdocs 24

CategoryCakePHP functions - redirect
Code Examples$this->redirect(array('action'=>'index')); When needing to launch another action with its views and everything else, use the redirect() function instead of requestAction(). => In short, the redirect() function causes another browser request and changes the URL, while requestAction() works internally to launch specific actions.
Test Code
Links
Remarks
Cancel