diff options
-rwxr-xr-x | library/SSRS/Object/ReportOutput.php | 4 |
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); |