summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarron.woods@gmail.com <arron.woods@gmail.com@deae1e92-32f9-c189-e222-5b9b5081a27a>2013-01-22 16:25:41 +0000
committerarron.woods@gmail.com <arron.woods@gmail.com@deae1e92-32f9-c189-e222-5b9b5081a27a>2013-01-22 16:25:41 +0000
commitc24665045470f00cf66de0141c1cf738fae4103b (patch)
tree07af4fa062d80f1005400f487a46702c08b35470
parent762a87c2a09655de4f8417b4b8a43d8385191f77 (diff)
parent6e07d2674cd46e5170fa88f06a1fec85a2524e4c (diff)
downloadphp-ssrs-c24665045470f00cf66de0141c1cf738fae4103b.zip
php-ssrs-c24665045470f00cf66de0141c1cf738fae4103b.tar.gz
php-ssrs-c24665045470f00cf66de0141c1cf738fae4103b.tar.bz2
IE7/8 cache headers1.0.1
-rwxr-xr-xlibrary/SSRS/Object/ReportOutput.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/SSRS/Object/ReportOutput.php b/library/SSRS/Object/ReportOutput.php
index 8835dc9..208a638 100755
--- a/library/SSRS/Object/ReportOutput.php
+++ b/library/SSRS/Object/ReportOutput.php
@@ -8,8 +8,8 @@
class SSRS_Object_ReportOutput extends SSRS_Object_Abstract {
public function download($filename) {
- header("Cache-control: no-cache");
- header("Pragma: no-cache");
+ header("Cache-control: max-age=3600, must-revalidate");
+ header("Pragma: public");
header("Expires: -1");
header("Content-Description: File Transfer");
header('Content-Disposition: attachment; filename="' . $filename . '"');