Online-Timer? - 02/01/2003 2:42 PM
Where can I change the timeout for the online-timer? (10 minutes)
thanks
d-talk
thanks
d-talk
<br /> // -----------------------------------------------<br /> // Expire any outdated entries in the Online table<br /> $Outdated = $html -> get_date();<br /> $Outdated = $Outdated - 600;<br /> $query = "<br /> DELETE FROM {$config['tbprefix']}Online<br /> WHERE O_Last < $Outdated<br /> ";<br />
<br />// -------------------------<br />// Delete the inactive users<br /> $html = new html;<br /> $Outdated = $html -> get_date() - 600;<br /> $query = "<br /> DELETE FROM {$config['tbprefix']}Online<br /> WHERE O_Last < $Outdated<br /> ";<br /> $dbh -> do_query($query);<br />
<br />// ------------------<br />// Send a html header<br /> $html -> send_header($ubbt_lang['ONLINE_HEAD'],$Cat,"<meta http-equiv=\"Refresh\" content=\"60;url={$config['phpurl']}/online.php?Cat=$Cat\" />",$user);<br />