Bear with me as I’m working on a project in an older cake 1.3 install. In my controller, I have this: $this->flash('Thank you for contacting us. One of our managers will contact you soon.', '/m', 5000);. Upon submitting a form, my controller properly redirects the user, but it 1)doesn’t pause for 5 seconds 2)doesn’t flash my message. Do I actually have to add some call to flash() in my view? Do I need to specify that the controller use the Session helper? I’m unsure what it is that I’m doing wrong.
UPDATE Tried <?php echo $this->Session->flash(); ?> in my view, which shows my success message upon submitting the form…and then it never redirects. So. Yeah.
flash is
Also note that when debug is on, redirect does not auto redirect, you actually have to click the link. when debug is at 0, it will auto redirect after the time is up.