summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/prefs.php b/prefs.php
index 420bc0867..ad77d8662 100644
--- a/prefs.php
+++ b/prefs.php
@@ -1,6 +1,6 @@
<?php
require_once "functions.php";
-// require_once "sessions.php";
+ require_once "sessions.php";
require_once "sanity_check.php";
require_once "version.php";
require_once "config.php";
@@ -12,6 +12,10 @@
$dt_add = get_script_dt_add();
+ header("Cache-Control: no-cache, max-age=0, must-revalidate");
+ header("Pragma: no-cache");
+ header("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
+
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">