--- loncom/interface/spreadsheet/lonspreadsheet.pm 2003/06/20 16:55:46 1.14 +++ loncom/interface/spreadsheet/lonspreadsheet.pm 2003/07/16 13:52:19 1.16 @@ -1,5 +1,5 @@ # -# $Id: lonspreadsheet.pm,v 1.14 2003/06/20 16:55:46 www Exp $ +# $Id: lonspreadsheet.pm,v 1.16 2003/07/16 13:52:19 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -278,14 +278,11 @@ sub handler { } } -# ================================================================== 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; # @@ -432,6 +429,7 @@ END if ($allowed_to_view || $allowed_to_edit) { $r->print($spreadsheet->parent_link()); } + $r->rflush(); $spreadsheet->display($r); } $r->print('');