Is the message set in your app_controller ? Are you sure your "id for user" is ever valid (maybe trace it's value when setting it) ?
On Jan 11, 8:17 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, I have a Flash Message that will not go away with several new > page loads. > What would be missing? CakePHP 1.2 (Beta) > > -- CONTROLLER -- > $this->Session->setFlash('Invalid id for User'); > $this->redirect('/users/index'); > > -- LAYOUT (CTP) -- > <?php if($session->check('Message.flash')): ?> > <div id="flash_message"> > <?php $session->flash(); ?> > <?php $session->del('Message.flash'); ?> > </div> > <?php endif; ?> > > So, the proper message comes up with the redirect. Works great. But I > click a link > and the new page call still displays the Flash Message (no redirect) > and even another time I'll get > the same Flash Message. > > Please help? Thanks! > Brad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---