Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, April 20, 2024

Diff for phpWebLogAnalyzer/test.php between version 1.5 and 1.6

version 1.5, 2002/02/19 23:07:15 version 1.6, 2002/02/28 20:35:47
Line 22  $weblog->registerAccess(3);
Line 22  $weblog->registerAccess(3);
   
 echo ("<hr>Session ID: "  echo ("<hr>Session ID: "
                 . $weblog->getPropertyValue("session_id") . "<br>");                  . $weblog->getPropertyValue("session_id") . "<br>");
 /*  
    echo("<hr>Session count (%Lynx%): "  
    . $weblog->getSessionsCount(array('http_user_agent' => '%Lynx%'))  
    . "<br>");  
  */  
   
 echo "<hr>Active sessions: ";  if (0) {
 $active_sessions = $weblog->getActiveSessions();          $weblog->enableRawLog();
 var_dump($active_sessions);          echo("<hr>Raw session count: "
 echo "<br>";                          . $weblog->getSessionsCount()
                           . "<br>");
           $weblog->disableRawLog();
           echo("<hr>Normal session count: "
                           . $weblog->getSessionsCount()
                           . "<br>");
   
           $weblog->enableRawLog();
           echo "<hr>Raw active sessions: ";
           $active_sessions = $weblog->getActiveSessions();
           var_dump($active_sessions);
           echo "<br>";
   
           $weblog->disableRawLog();
           echo "<hr>Normal active sessions: ";
           $active_sessions = $weblog->getActiveSessions();
           var_dump($active_sessions);
           echo "<br>";
   }
   
 echo("<hr>Processing time: "  echo("<hr>Processing time: "
                 . sprintf("%.2f", get_mtime() - $start_time));                  . sprintf("%.2f", get_mtime() - $start_time));

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top