After logout browser back button shows cached protected page.
Anyone have the same issue on contao version 2.11.2
tested on FF 13
After logout browser back button shows cached protected page.
Anyone have the same issue on contao version 2.11.2
tested on FF 13
ConTao rules!
Thank you Leo and the team.
Why is that a Contao specific issue, or should Contao send headers that disable caching for protected pages?
Ok
I can confirm that this works..
I have modified file FrontendTemplate.php at line 199 to 203 and replaced with this:
header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
header('Pragma: no-cache');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Expires: Fri, 06 Jun 1975 15:10:00 GMT');
ConTao rules!
Thank you Leo and the team.
Bookmarks