/[cvs]/nfo/php/libs/org.netfrag.flib/Tracker/Session.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.flib/Tracker/Session.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by joko, Tue Dec 3 16:13:21 2002 UTC revision 1.4 by jonen, Wed Dec 4 07:41:30 2002 UTC
# Line 3  Line 3 
3  //    $Id$  //    $Id$
4  //    -------------------------------------------------------------------------  //    -------------------------------------------------------------------------
5  //    $Log$  //    $Log$
6    //    Revision 1.4  2002/12/04 07:41:30  jonen
7    //    + merged conflic
8    //
9  //    Revision 1.3  2002/12/03 16:13:21  joko  //    Revision 1.3  2002/12/03 16:13:21  joko
10  //    + bugfix with autologout:  //    + bugfix with autologout:
11  //      + now just setting some message to site_state here  //      + now just setting some message to site_state here
# Line 125  class Session { Line 128  class Session {
128        $time_now = time();        $time_now = time();
129        $last_date = strtotime($mus[last_date]);        $last_date = strtotime($mus[last_date]);
130        $max_idle_date = $last_date + $max_idle_time;        $max_idle_date = $last_date + $max_idle_time;
131    /*
132      // check timeout      // check timeout
133        if ($time_now > $max_idle_date) {        if ($time_now > $max_idle_date) {
134          // set autologout message          // set autologout message
# Line 137  class Session { Line 140  class Session {
140          $this->site->user->preLogout(1);          $this->site->user->preLogout(1);
141          $this->site->request->overrideRequestIdentifier('/home/logout/');          $this->site->request->overrideRequestIdentifier('/home/logout/');
142        }        }
143        */  
144          return $max_idle_date;
145    }      }  
146    
147  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed