New Message: Re: Is this possible? Members stats

webmaster at userland.com webmaster at userland.com
Thu Jul 1 22:40:01 PDT 2004


A new message was posted:

Address: http://manila.userland.com/discuss/msgReader$477

By: Robert Cassidy (rmcassid at uci.edu)

Well,

I would think that if you're willing to do a bit of scripting, then yeah.

The membership count is simple - nothing more than, essentially, sizeOf(membershipGroup).

The last 24 hours would require maintaining a simple table (or scanning your membership accts - slow) of login times and names, removing dups as you go. Online now requires some kind of timeout/logout tracking which could be done with the above table. Visiting is the same as the above if you're willing to log IPs as well.

Me, I'd put a #security script at the top of your site that would automatically get called for every hit which could (I think, never tried this from a security script) spawn a thread to collect this while sending the user on their way, since your security script isn't performing any real security.

Other than determining what constitutes an online visitor and dealing with the performance hit, I wouldn't think it a very difficult thing.




More information about the Frontier-Users mailing list