How can I pass control from action method to another controller action method. I tried but im getting the following error
Warning(2):Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\ForumCake\app\controllers \users_controller.php:1) [CORE\cake\libs\controller\controller.php, line 644] Code | Context $status = "Location: http://localhost/ForumCake/users" header - [internal], line ?? Controller::header() - CORE\cake\libs\controller\controller.php, line 644 Controller::redirect() - CORE\cake\libs\controller\controller.php, line 625 UsersController::userPost() - APP\controllers\users_controller.php, line 15 Object::dispatchMethod() - CORE\cake\libs\object.php, line 118 Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 227 Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 194 [main] - APP\webroot\index.php, line 88 Plz tell me about passing the controls from action to action and ctp file to action. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
