summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-02 12:05:17 +0100
committerAndrew Dolgov <[email protected]>2007-03-02 12:05:17 +0100
commit1df0f48b2147c3cbc71dc2085de76f5a4432fb6d (patch)
tree76c7b51f2969899cf5fcb264d174760b5f2401a9 /prefs.php
parent7f0acba7b0e44128974e737cd2b82b794287600d (diff)
login system fixes...
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">