[LON-CAPA-cvs] cvs: loncom /auth lonlogin.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 19 Feb 2002 21:20:48 -0000
albertel Tue Feb 19 16:20:48 2002 EDT
Modified files:
/loncom/auth lonlogin.pm
Log:
- this page shouldn't get cached since it has the random DES key in it.
Index: loncom/auth/lonlogin.pm
diff -u loncom/auth/lonlogin.pm:1.11 loncom/auth/lonlogin.pm:1.12
--- loncom/auth/lonlogin.pm:1.11 Thu Nov 29 14:12:44 2001
+++ loncom/auth/lonlogin.pm Tue Feb 19 16:20:48 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Login Screen
#
-# $Id: lonlogin.pm,v 1.11 2001/11/29 19:12:44 www Exp $
+# $Id: lonlogin.pm,v 1.12 2002/02/19 21:20:48 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -35,10 +35,12 @@
use Apache::Constants qw(:common);
use Apache::File ();
use Apache::lonnet();
+use Apache::loncommon();
sub handler {
my $r = shift;
$r->content_type('text/html');
+ &Apache::loncommon::no_cache($r);
$r->send_http_header;
return OK if $r->header_only;