summaryrefslogtreecommitdiff
path: root/htetc
diff options
context:
space:
mode:
authorivan <ivan>2004-04-02 13:44:56 +0000
committerivan <ivan>2004-04-02 13:44:56 +0000
commite5f676566d9fd2dd61d5e48c26ccd9f4387f8cc8 (patch)
tree7837c3b4bcb440bc75ec8e612489057b8787c8c7 /htetc
parentea72b6b09a472a989e60fe5bba1884a629907e37 (diff)
remove Pragma:no-cache header, and set Content-Length and Cache-Control for viewing .pdf invoices with IE over SSL. http://support.microsoft.com/default.aspx?scid=kb;en-us;323308
Diffstat (limited to 'htetc')
-rw-r--r--htetc/global.asa1
-rw-r--r--htetc/handler.pl2
2 files changed, 1 insertions, 2 deletions
diff --git a/htetc/global.asa b/htetc/global.asa
index 65f3355e1..a773bb92f 100644
--- a/htetc/global.asa
+++ b/htetc/global.asa
@@ -68,7 +68,6 @@ use FS::export_svc;
use FS::msgcat;
sub Script_OnStart {
- $Response->AddHeader('Pragma' => 'no-cache');
$Response->AddHeader('Cache-control' => 'no-cache');
# $Response->AddHeader('Expires' => 0);
$Response->{Expires} = -36288000;
diff --git a/htetc/handler.pl b/htetc/handler.pl
index 8d4f1e71f..f970df842 100644
--- a/htetc/handler.pl
+++ b/htetc/handler.pl
@@ -198,7 +198,7 @@ sub handler
#eorar
my $headers = $r->headers_out;
- $headers->{'Pragma'} = $headers->{'Cache-control'} = 'no-cache';
+ $headers->{'Cache-control'} = 'no-cache';
#$r->no_cache(1);
$headers->{'Expires'} = '0';