[TYPO3-mvc] Flash Messages get persisted among page hits
Martin Kutschker
masi-no at spam-typo3.org
Fri Apr 23 08:37:06 CEST 2010
Sebastian Kurfürst schrieb:
>
> If you add a flash message and then do an external redirect, it has to
> be stored in the session until the next request. That is what's
> happening in the dispatcher.
Why? If you leave the page the semantic context of the message will be lost.
> b) If a flash message is rendered, the cache of this page (well, the
> cache for this cHash would be enough) must be invalidated; to only cache
> outputs without flash-messages. Any suggestions how to clear that cache
> for a single cHash? I'm not that good concerning the caching framework ;)
I think you have to fiddle with the DB manually. There is no page cache API :(
Masi
More information about the TYPO3-project-typo3v4mvc
mailing list