summaryrefslogtreecommitdiff
path: root/htetc/global.asa
diff options
context:
space:
mode:
authorivan <ivan>2002-02-09 17:03:55 +0000
committerivan <ivan>2002-02-09 17:03:55 +0000
commit5bb9eff0716710611f50071bec6167b4514edb48 (patch)
tree536f41d1d2d041591dd70e5d68d548c5ad89d2c6 /htetc/global.asa
parent58b6cf13486080bae2136b13b421db6c9163368e (diff)
okay, both Apache::ASP and Mason should set no-cache headers now (closes: Bug#23)
Diffstat (limited to 'htetc/global.asa')
-rw-r--r--htetc/global.asa4
1 files changed, 4 insertions, 0 deletions
diff --git a/htetc/global.asa b/htetc/global.asa
index c4b4380d6..cf6b0f679 100644
--- a/htetc/global.asa
+++ b/htetc/global.asa
@@ -47,6 +47,10 @@ use FS::svc_www;
use FS::type_pkgs;
sub Script_OnStart {
+ $Response->AddHeader('Pragma' => 'no-cache');
+ $Response->AddHeader('Cache-control' => 'no-cache');
+ $Response->AddHeader('Expires' => 0);
+
$cgi = new CGI;
&cgisuidsetup($cgi);
$p = popurl(2);