Cakephp - Session->setFlash is not working any more.
Question:
setFlash() no longer showing up on the page. Why ?
$this->Session->setFlash("Hello world");
Answer As of CakePHP version 1.2 you need to tell the template where to put the flash message
<?php
$session->check('Message.flash')) {
$session->flash();
}
?>
Leave a comment