[fusion-commits] r2225 - sandbox/jxlib-3.0/layers/MapServer/php

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Sep 10 13:12:53 EDT 2010


Author: madair
Date: 2010-09-10 17:12:53 +0000 (Fri, 10 Sep 2010)
New Revision: 2225

Modified:
   sandbox/jxlib-3.0/layers/MapServer/php/SelectionCSV.php
Log:
add header elements so the download will work in IE

Modified: sandbox/jxlib-3.0/layers/MapServer/php/SelectionCSV.php
===================================================================
--- sandbox/jxlib-3.0/layers/MapServer/php/SelectionCSV.php	2010-09-10 14:46:57 UTC (rev 2224)
+++ sandbox/jxlib-3.0/layers/MapServer/php/SelectionCSV.php	2010-09-10 17:12:53 UTC (rev 2225)
@@ -34,6 +34,10 @@
 include('../../../common/php/Utilities.php');
 include ("Utilities.php");
 
+//next 3 lines required for this to work in IE
+header("Pragma: public");
+header("Expires: 0");
+header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
 header('Content-disposition: attachment; filename=selection.csv');
 header('Content-type: text/csv');
 



More information about the fusion-commits mailing list