[LON-CAPA-cvs] cvs: loncom /interface/spreadsheet lonspreadsheet.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Fri, 20 Jun 2003 17:24:04 -0000
matthew Fri Jun 20 13:24:04 2003 EDT
Modified files:
/loncom/interface/spreadsheet lonspreadsheet.pm
Log:
Use loncommon::no_cache to plead not to be cached.
Index: loncom/interface/spreadsheet/lonspreadsheet.pm
diff -u loncom/interface/spreadsheet/lonspreadsheet.pm:1.14 loncom/interface/spreadsheet/lonspreadsheet.pm:1.15
--- loncom/interface/spreadsheet/lonspreadsheet.pm:1.14 Fri Jun 20 12:55:46 2003
+++ loncom/interface/spreadsheet/lonspreadsheet.pm Fri Jun 20 13:24:04 2003
@@ -1,5 +1,5 @@
#
-# $Id: lonspreadsheet.pm,v 1.14 2003/06/20 16:55:46 www Exp $
+# $Id: lonspreadsheet.pm,v 1.15 2003/06/20 17:24:04 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -278,14 +278,11 @@
}
}
-# ================================================================== Good to go
-
#
# Open page, try to prevent browser cache.
#
$r->content_type('text/html');
- $r->header_out('Cache-control','no-cache');
- $r->header_out('Pragma','no-cache');
+ &Apache::loncommon::no_cache($r);
$r->send_http_header;
#