Results 1 to 3 of 3

Thread: After logout browser back button shows cached protected page

  1. #1
    New user
    Join Date
    06-21-09.
    Posts
    27

    Default After logout browser back button shows cached protected page

    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.

  2. #2
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: After logout browser back button shows cached protected

    Why is that a Contao specific issue, or should Contao send headers that disable caching for protected pages?

  3. #3
    New user
    Join Date
    06-21-09.
    Posts
    27

    Default Re: After logout browser back button shows cached protected

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •