Hi, As I already mentioned "You don't need to delete flash message in session explicitly, $this->Session->flash() does it automagically.", the message doesn't appear after page refresh.
In the first message you mentioned "But when I go after the edit to the details view and back to the index view it gives me the message 'your job has been updated'." and now you are asking "How can I refresh the page to remove the flash message from the page?". So, I am confused about what exactly you need. Please be specific about your problem. Amit Badkas PHP Applications for E-Biz: http://www.sanisoft.com On Tue, Jan 11, 2011 at 11:42 PM, lvdb <[email protected]> wrote: > Hello Amit, > > Thank you for your answer. When I refresh the view page the message is > gone. > It is not done automatically. How can I refresh the page? > > Leo > > On 10 jan, 07:31, Amit Badkas <[email protected]> wrote: > > Hi, > > > > Does the details page output flash message? You don't need to delete > flash > > message in session explicitly, $this->Session->flash() does it > > automagically. > > > > Amit Badkas > > > > PHP Applications for E-Biz:http://www.sanisoft.com > > > > > > > > On Sat, Jan 8, 2011 at 1:13 AM, lvdb <[email protected]> wrote: > > > Hello, > > > > > I have made a flash message "your job has been updated". When I edit a > > > job and have been redirected to the index view the message appears > > > (and after 3 seconds it hides). This is working fine. But when I go > > > after the > > > edit to the details view and back to the index view it gives me the > > > message "your job has been updated". > > > Must I delete the session and how do I do that? > > > > > Thank you in advance for your answer. > > > > > Leo van den Berg > > > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help > others > > > with their CakePHP related questions. > > > > > 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]<cake-php%[email protected]> > <cake-php%[email protected]om>For more options, visit this > group at > > >http://groups.google.com/group/cake-php?hl=en- Tekst uit oorspronkelijk > bericht niet weergeven - > > > > - Tekst uit oorspronkelijk bericht weergeven - > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > 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]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
