diff options
author | arron.woods@gmail.com <arron.woods@gmail.com@deae1e92-32f9-c189-e222-5b9b5081a27a> | 2013-01-22 15:56:15 +0000 |
---|---|---|
committer | arron.woods@gmail.com <arron.woods@gmail.com@deae1e92-32f9-c189-e222-5b9b5081a27a> | 2013-01-22 15:56:15 +0000 |
commit | 762a87c2a09655de4f8417b4b8a43d8385191f77 (patch) | |
tree | 8cf8f654a71b0fea8b9cbd1050cee4a75604de91 | |
parent | afaeb40a5bef7a51b1dd6a95a066bab88ffb5dd3 (diff) | |
download | php-ssrs-762a87c2a09655de4f8417b4b8a43d8385191f77.zip php-ssrs-762a87c2a09655de4f8417b4b8a43d8385191f77.tar.gz php-ssrs-762a87c2a09655de4f8417b4b8a43d8385191f77.tar.bz2 |
Tagged 1.0.1
-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); |