You see page cached by browser when hit "previous" button there.
Disable cache at all by $this->disableCache() in controller, or do not
use "previous" button.

On 13 янв, 02:14, lvdb <lj.vandenb...@kpnplanet.nl> wrote:
> Hello Amit,
>
> Thank you for your reply.
> I will try to explain it
>
> First I am editing a record in the edit view. When I save the record
> it redirects me to the index view and give a message "Job has been
> updated".
> Second step is I go to the detail view and check the details after
> that I go back to the index view (with the button "previous" in the
> browser).
> But when I enter the index view it gives me again the message "Job has
> been updated".
> I looked in the source of the index view and this div has been
> created:
>
> <div id="flashMessage" class = "message">Job has been updated</div>
>
> When I now refresh the page with F5 the div is gone.
>
> I hope you understand it
>
> Leo van den Berg
>
> On 12 jan, 04:58, Amit Badkas <amit.sanis...@gmail.com> wrote:
>
>
>
>
>
>
>
> > 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 <lj.vandenb...@kpnplanet.nl> 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 <amit.sanis...@gmail.com> 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 <lj.vandenb...@kpnplanet.nl> 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.organdhelp
> > > 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 cake-php@googlegroups.com
> > > > > To unsubscribe from this group, send email to
> > > > > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.c­om>
> > > <cake-php%2bunsubscr...@googlegroups.c­om>For more options, visit this
> > > group at
> > > > >http://groups.google.com/group/cake-php?hl=en-Tekstuit oorspronkelijk
> > > bericht niet weergeven -
>
> > > > - Tekst uit oorspronkelijk bericht weergeven -
>
> > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 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 cake-php@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.c­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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to