Re: Session still open

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 10, 2008 at 6:23 PM, Bill <billlab51@xxxxxxxxxxx> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux