Not getting setFlash messages in CakePHP 1.2
If your not observing your $this->Session->setFlash messages, make sure you have the following code present in your layout or view ...
Show Plain Text- <?php
- if ($session->check('Message.flash')) {
- $session->flash();
- }
- ?>
This caught me out one time after editing the default.ctp layout and accidentally removing the $session->flash() line.
Gr8 Solution..