>see who's currently using the system, and basically discounting anyone
>who's not been active in the last 15 minutes?
>
>If this is the case let me know and I'll knock a little code out for
>you! Can't do it today, stupid firewall issues... Eugh.
Hi Tim,
That's exactly what I'm trying to do. All I want is a counter that counts down from 15 minutes for every person who logs on without using the database, i.e., using session/application variables. Seems like this script can almost do it...it just needs one more bit of cleaning up. But maybe not? I hadn't considered the fact that CFID isn't really unique. Not that it matters since this is nothing but eye candy (i.e., I slug the value up there on the right corner of the site).
But you know, I also wanted to know WHO exactly was "online," i.e., has made a request in the last 15 minutes. The login system carries the ID (a number, session.UserID) of every user, so I can easily do this by keeping another application structure.
I can actually do this -- I'm just being lazy. But if you want to take a whack at it, it'll be very appreciated. I've been coding for a while, but I haven't really dealt with many login issues at all, as it was coded by somebody else and it's been working just fine all this time. And, as you can see, I wasn't astute enough with the current script I was using to see how awful it was, so any expert advice would be fantastic.
- Sung
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

