CakePHP Archive
CakePHP 1.2: redirect method
Previously (in CakePHP 1.1) it was best to add an exit or return after you redirect method like:
$this->redirect(’controller/action’);
exit();
or
$this->redirect(’controller/action’);
return();
in CakePHP 1.2 this can be shortened to:
$this->redirect(’controller/action’, null, true);
See cakebaker on this too.
Find It Quickly
Find what you're looking for quickly by using our keyword search. Can't find it? Try our links below.


