diff --git a/include/staff/header.inc.php b/include/staff/header.inc.php index c48ee8b360070be6f82cf74e073f8122aa0ff897..090397036d7bb05a46e9f405bf530a5781bbdb26 100644 --- a/include/staff/header.inc.php +++ b/include/staff/header.inc.php @@ -2,6 +2,8 @@ <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> + <meta http-equiv="cache-control" content="no-cache" /> + <meta http-equiv="pragma" content="no-cache" /> <title>osTicket Staff Control Panel</title> <!--[if IE]> <style type="text/css"> @@ -23,7 +25,7 @@ } ?> </head> -<body> +<body onunload=""> <div id="container"> <div id="header"> <a href="index.php" id="logo">osTicket - Customer Support System</a> diff --git a/main.inc.php b/main.inc.php index 8fbe9c3171ab90dd307efda94192d8ad3c8f742d..155e4c852f6f991eaa14c6892a7454917e27bbea 100644 --- a/main.inc.php +++ b/main.inc.php @@ -34,6 +34,7 @@ ini_set('session.use_trans_sid', 0); #No cache ini_set('session.cache_limiter', 'nocache'); + session_cache_limiter('nocache'); #Cookies //ini_set('session.cookie_path','/osticket/');