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