Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [SeanP] Who's Online Global

Quote Reply
Re: [SeanP] Who's Online Global In reply to
Try adding this near the beginning of your global:

$DB->table('Online')->delete(GT::SQL::Condition->new(online_time => '<' => (time - $CFG->{online_timeout} * 60)));

That'll purge the Online table of any expired entries.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Subject Author Views Date
Thread Who's Online Global SeanP 4115 Dec 2, 2004, 10:56 AM
Thread Re: [SeanP] Who's Online Global
Jagerman 4050 Dec 2, 2004, 11:57 AM
Thread Re: [Jagerman] Who's Online Global
SeanP 4047 Dec 2, 2004, 12:40 PM
Thread Re: [SeanP] Who's Online Global
Jagerman 4062 Dec 2, 2004, 1:11 PM
Post Re: [Jagerman] Who's Online Global
SeanP 4021 Dec 2, 2004, 1:24 PM
Thread Re: [Jagerman] Who's Online Global
SeanP 4023 Dec 14, 2004, 2:33 PM
Thread Re: [SeanP] Who's Online Global
Jagerman 4047 Dec 14, 2004, 3:53 PM
Post Re: [Jagerman] Who's Online Global
SeanP 4024 Dec 15, 2004, 10:52 AM