[LON-CAPA-cvs] cvs: modules /raeburn/register Session.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Wed, 27 Apr 2005 17:01:41 -0000


raeburn		Wed Apr 27 13:01:41 2005 EDT

  Modified files:              
    /modules/raeburn/register	Session.pm 
  Log:
  Extend session timeout from 10s to 30 minutes.
  
  
Index: modules/raeburn/register/Session.pm
diff -u modules/raeburn/register/Session.pm:1.3 modules/raeburn/register/Session.pm:1.4
--- modules/raeburn/register/Session.pm:1.3	Sat Dec  4 16:12:26 2004
+++ modules/raeburn/register/Session.pm	Wed Apr 27 13:01:41 2005
@@ -127,7 +127,7 @@
     if ( defined($sess_ref) ) {
         $sess_ref->attr('user_id',$user);
         my $endtime = $sess_ref->now;
-        $endtime += 10;
+        $endtime += 1800;
         $sess_ref->expires($endtime);
         my $expiration = $sess_ref->expires;
         my $stored_name = $sess_ref->attr('user_id');