[Rt-commit] r4666 - in rt/branches/3.7-EXPERIMENTAL: . lib/RT/Interface/Web

alexmv at bestpractical.com alexmv at bestpractical.com
Thu Mar 2 19:05:12 EST 2006


Author: alexmv
Date: Thu Mar  2 19:05:11 2006
New Revision: 4666

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/Session.pm
   rt/branches/3.7-EXPERIMENTAL/sbin/rt-clean-sessions.in

Log:
 r9450 at zoq-fot-pik:  chmrr | 2006-03-02 19:05:00 -0500
  * Notes about session expiration functionality duplication, a missing 'use'


Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/Session.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/Session.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Interface/Web/Session.pm	Thu Mar  2 19:05:11 2006
@@ -2,6 +2,8 @@
 use warnings;
 use strict;
 
+use RT::CurrentUser;
+
 =head1 NAME
 
 RT::Interface::Web::Session - RT web session class

Modified: rt/branches/3.7-EXPERIMENTAL/sbin/rt-clean-sessions.in
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/sbin/rt-clean-sessions.in	(original)
+++ rt/branches/3.7-EXPERIMENTAL/sbin/rt-clean-sessions.in	Thu Mar  2 19:05:11 2006
@@ -96,4 +96,14 @@
 
 Turn on debug output.
 
+=head1 NOTES
+
+Functionality similar to this is implemented in
+html/Elements/SetupSessionCookie ; however, that does not guarantee
+that a session will be removed from disk and database soon after the
+timeout expires.  This script, if run from a cron job, will ensure
+that the timed out sessions are actually removed from disk; the Mason
+component just ensures that the old sessions are not reusable before
+the cron job gets to them.
+
 =cut


More information about the Rt-commit mailing list