Location: PHPKode > scripts > Session Handler Class > session-handler-class/cron.php
//If you set the CronDate in Your Tables you can easy update all your
  //This Cronjob do the same like the session_handler but only
  //once one day(see function cron), now you see how it 
  // works.
  // REMEMBER DONT MAKE AN OUTPUT, this will creat an error ...

    $sql=sprintf("SELECT cron_date FROM %s WHERE ID = '1'",
    $result = mysql_query($sql);
    $last = mysql_fetch_row($result);
    $sql = sprintf("DELETE FROM %s WHERE session_time < '%s'",

Return current item: Session Handler Class