freeside/htetc global.asa,1.44,1.45 handler.pl,1.39,1.40

ivan ivan at pouncequick.420.am
Fri Apr 2 05:44:59 PST 2004


Update of /home/cvs/cvsroot/freeside/htetc
In directory pouncequick:/tmp/cvs-serv32670/htetc

Modified Files:
	global.asa handler.pl 
Log Message:
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

Index: global.asa
===================================================================
RCS file: /home/cvs/cvsroot/freeside/htetc/global.asa,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- global.asa	23 Mar 2004 03:36:48 -0000	1.44
+++ global.asa	2 Apr 2004 13:44:54 -0000	1.45
@@ -68,7 +68,6 @@
 use FS::msgcat;
 
 sub Script_OnStart {
-  $Response->AddHeader('Pragma' => 'no-cache');
   $Response->AddHeader('Cache-control' => 'no-cache');
 #  $Response->AddHeader('Expires' => 0);
   $Response->{Expires} = -36288000;

Index: handler.pl
===================================================================
RCS file: /home/cvs/cvsroot/freeside/htetc/handler.pl,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- handler.pl	23 Mar 2004 00:06:55 -0000	1.39
+++ handler.pl	2 Apr 2004 13:44:54 -0000	1.40
@@ -198,7 +198,7 @@
     #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';
 




More information about the freeside-commits mailing list