diff --git a/code/web/public_php/ams/index.php b/code/web/public_php/ams/index.php index 43ef1aeb9..b278b6960 100644 --- a/code/web/public_php/ams/index.php +++ b/code/web/public_php/ams/index.php @@ -33,8 +33,14 @@ if ($NEL_SETUP_VERSION_CONFIGURED < $NEL_SETUP_VERSION) { } require_once( $AMS_LIB . '/libinclude.php' ); +session_cache_limiter('nocache'); session_start(); - +header("Expires: Mon, 01 May 2000 06:00:00 GMT"); +header("Last-Modified: ". gmdate("D, d M Y H:i:s") ." GMT"); +header("Cache-Control: max-age=1"); +header("Cache-Control: no-store, no-cache, must-revalidate"); +header("Cache-Control: post-check=0, pre-check=0", false); +header("Pragma: no-cache"); // Running Cron if ( isset( $_GET["cron"] ) ) {