0
Welcome Guest! Login
0 items Join Now

webpage expired when hitting back button

  • webpage expired when hitting back button

    Posted 16 years 3 months ago
    • hi

      not techically a rocket theme issue but hoping someone might be able to help.

      When i perform a search, view one of the search results and try to return to the search results, I get "webpage expired".

      Someone suggested the following:

      If using Joomla - look for the following code in the root index file somewhere around
      line 250:-
      header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
      header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
      header( 'Cache-Control: no-store, no-cache, must-revalidate' );
      header( 'Cache-Control: post-check=0, pre-check=0', false );
      header( 'Pragma: no-cache' );

      and change it to the following:-
      header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
      header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
      header( 'Cache-Control: private, max-age=10800, pre-check=10800' );
      header( 'Cache-Control: post-check=0, pre-check=0', false );

      Guess I'm being dumb but index.php in the root directory only has 88 lines and no refercne to the above.

      Where should I be looking to make the above changes.

      cheers
      Paul
    • www.west5web.com
  • Re: webpage expired when hitting back button

    Posted 16 years 3 months ago
    • Terp's Avatar
    • Terp
    • Elite Rocketeer
    • Posts: 1720
    • Thanks: 23

    Re: webpage expired when hitting back button

    Posted 16 years 3 months ago
    • I would assume because it's firing an sql query and when you go back, it automatically proc again...no?

Time to create page: 0.050 seconds