On Mon, Mar 10, 2008 at 6:23 PM, Bill <[EMAIL PROTECTED]> wrote:
>  At most I'll have a 30 secs. time lapse. (30 secs. is the default execution
>  time for scripts)
>
>  What do you think of that?

    That could work for very short sessions, sure.  This was for a
larger, longer, community-style script.  And it wouldn't cause very
much stress on the server, actually, but with large communities of
655,350+ (using a Magic Number[tm]), you
surely wouldn't want the cron to run every 10 minutes.

    The example from the link is set to see if a user is still active
on the site.  If all you want to do is find out if they still have the
socket open, then there are much smaller, simpler ways.

-- 
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to