diff options
author | Andrew Dolgov <[email protected]> | 2007-03-02 12:05:17 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-03-02 12:05:17 +0100 |
commit | 1df0f48b2147c3cbc71dc2085de76f5a4432fb6d (patch) | |
tree | 76c7b51f2969899cf5fcb264d174760b5f2401a9 /backend.php | |
parent | 7f0acba7b0e44128974e737cd2b82b794287600d (diff) |
login system fixes...
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 6 |
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); |