Update of /cvsroot/netpass/NetPass/lib/NetPass/WWW
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19463/lib/NetPass/WWW
Modified Files:
Session.pm.mysql
Log Message:
set no cache in session.pm.mysql
Index: Session.pm.mysql
===================================================================
RCS file: /cvsroot/netpass/NetPass/lib/NetPass/WWW/Session.pm.mysql,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Session.pm.mysql 31 Aug 2005 20:09:17 -0000 1.5
+++ Session.pm.mysql 31 Aug 2005 20:15:50 -0000 1.6
@@ -89,6 +89,7 @@
return -1 if $r->content_type && $r->content_type !~ m|^text/|i;
my $status = $ah->handle_request($r);
+ $r->header_out("Cache-Control" => 'no-cache');
return $status;
}
|