summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlibrary/SSRS/Object/ReportOutput.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/SSRS/Object/ReportOutput.php b/library/SSRS/Object/ReportOutput.php
index b3ef658..8835dc9 100755
--- a/library/SSRS/Object/ReportOutput.php
+++ b/library/SSRS/Object/ReportOutput.php
@@ -8,7 +8,9 @@
class SSRS_Object_ReportOutput extends SSRS_Object_Abstract {
public function download($filename) {
- header("Cache-Control: public");
+ header("Cache-control: no-cache");
+ header("Pragma: no-cache");
+ header("Expires: -1");
header("Content-Description: File Transfer");
header('Content-Disposition: attachment; filename="' . $filename . '"');
header("Content-Type: " . $this->MimeType);