--- loncom/interface/Attic/lonchart.pm 2002/02/01 16:37:58 1.27 +++ loncom/interface/Attic/lonchart.pm 2002/02/06 16:59:50 1.29 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # (Publication Handler # -# $Id: lonchart.pm,v 1.27 2002/02/01 16:37:58 minaeibi Exp $ +# $Id: lonchart.pm,v 1.29 2002/02/06 16:59:50 minaeibi Exp $ # # Copyright Michigan State University Board of Trustees # @@ -52,6 +52,7 @@ package Apache::lonchart; use strict; use Apache::Constants qw(:common :http); use Apache::lonnet(); +use Apache::loncommon(); use HTML::TokeParser; use GDBM_File; @@ -240,6 +241,7 @@ sub handler { } else { $r->content_type('text/html'); } + &Apache::loncommon::no_cache($r); $r->send_http_header; return OK; } @@ -322,10 +324,10 @@ sub handler { ':environment:lastname&generation&firstname&middlename', &Apache::lonnet::homeserver($sname,$sdom)); - $ssec=(int($ssec)) ? int($ssec) : $ssec; + #$ssec=(int($ssec)) ? int($ssec) : $ssec; $rowlabels[$thisindex]= - sprintf('%3s ',$ssec).' '.$reply{$sname}.' '; + sprintf('%3s',$ssec).' '.$reply{$sname}.' '; my $i=0; map { $i++;