> Try an exit() after the redirect/flash.

I will first try the exit() call as I've seen that mentioned in
relation to Session->flash and it does seem to be a case that if the
flash message does not appear in time the script continues and then
kicks out an error when it cant find the view.

> I was having a similar problem with my pages on a hosted server and
> found it was due to the way the cache and expires headers were being
> set.
>
> I wrote about it on my blog 
> athttp://blog.accuweaver.com/2008/11/27/sourceforgenet-application-host....
> Basically boiled down to adding one line to my .htaccess file:

Will keep the cache issue in mind but doubtful that a server wide
caching issue (I run a small web hosting company and manage my own
dedicated servers) would only manifest itself in a Cake application
when a delete action is trying to flash a message (no identified
caching issues on the 50+ websites I host).  Not that I'm fully
discounting it though.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to