summaryrefslogtreecommitdiff
path: root/backend.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 /backend.php
parent7f0acba7b0e44128974e737cd2b82b794287600d (diff)
login system fixes...
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/backend.php b/backend.php
index 67bdabb56..656dcbf9c 100644
--- a/backend.php
+++ b/backend.php
@@ -2,11 +2,9 @@
require_once "sessions.php";
require_once "modules/backend-rpc.php";
- header("Cache-Control: no-cache, must-revalidate");
- header("Cache-Control: no-cache, must-revalidate");
-
+ header("Cache-Control: no-cache, max-age=0, must-revalidate");
header("Pragma: no-cache");
- header("Expires: -1");
+ header("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
/* if ($_GET["debug"]) {
define('DEFAULT_ERROR_LEVEL', E_ALL);