[TYPO3-mvc] Display a session-stored flash message on a cached controller action page after a redirect
Thomas "Thasmo" Deinhamer
thasmo at gmail.com
Fri Jun 25 00:14:59 CEST 2010
Good evening,
is it possible to display a flash message, which was set before
redirected to a cached page?
As far as I know the message is beeing stored in the PHP/TYPO3 session
and will be rendered as soon as possible. Currently the message is NOT
rendered on the cached page, but only on the next uncached page the user
visits.
My scenario is the following:
The user clicks on 'Put product into the basket.'.
When clicked, the user is redirected to the basket.
The basket stores the product and saves a flash message.
The user is now beeing redirected to the previous page. (Referer)
The refering page is beeing displayed without the flash message.
The message will get rendered only on the next visited uncached page.
Is there a way to render the flash message without clearing the cache?
Or is there even a way to display it, with clearing the cache?
Any ideas?
Thanks a lot,
Thomas
More information about the TYPO3-project-typo3v4mvc
mailing list