Time redirection in cakePHP ?
header("refresh:5; url='pagetoredirect.php'"); we can use this if we want to redirect our page in 5 second , is there any way to redirect page in 5 second in cakephp ? if yes please let me know You could try with AppController header() method: http://api.cakephp.org/class/app-controller#method-AppControllerheader In your controller: class CarController{ public function add(){ $this->header("") //Implemented on AppController::header } } /cake/libs/controller/controller.php /** * Convenience and object wrapper method for header(). Useful when doing tests and * asserting that particular headers