[eluser]txomin[/eluser]
As the title says. Flash data and field error messages are still displayed when I revisit a page, for example, the login page. Pressing F5 forces a refresh of the page, bypassing the cache by requesting the page from the server, and everything is loaded fine.
Based on another post, it seems I could do something like this...
Code:
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
... somewhere in my code (don't know where, to be honest). It seems overkill to do this for every page.
To make matters worse, when the user enters data, sometimes the browser does not display the updated information and, rather, shows an old display page.
How do you guys handle the problem of the browser cache?