Re: Display number of users online

2007-04-18 Thread Joel Watson
Thanks, this works great! I really appreciate your help, as well as the responses from everyone else! Joel Here you go Joel, I got this code from someone else long ago, and now am passing it on to you. =) You may store other data about them, but you can go from here. cfapplication

Re: Display number of users online

2007-04-18 Thread Mike Chabot
I explored these undocumented functions in detail, and I think they have an unfortunate side effect of keeping sessions alive. Getting the overall count is fine, but any access to any session variable updates the last accessed time, which resets the clock when it comes to timing out the session.

Re: Display number of users online

2007-04-18 Thread Rick Root
I prefer Ray's method for tracking sessions... Almost as soon as he blogged it, I added it to CFMBB =) Right now there are 6 active sessions, and one registered user (rickroot2) Rick ~| ColdFusion MX7 by AdobeĀ® Dyncamically

Re: Display number of users online

2007-04-17 Thread Rick Root
It's way easier than that, and you don't have to use createObject(). Ray Camden blogged about this. application.cfm version: http://ray.camdenfamily.com/index.cfm/2007/3/12/Counting-Sessions-with-Applicationcfm (This is what I use for CFMBB and some other apps) application.cfc version:

Display number of users online

2007-04-16 Thread Joel Watson
I have a site (a forum, really) that allows users to login and post messages. Is there a way that I can display the number of users that are currently logged in? Thanks! ~| Deploy Web Applications Quickly across the

RE: Display number of users online

2007-04-16 Thread Peterson, Chris
Here you go Joel, I got this code from someone else long ago, and now am passing it on to you. =) You may store other data about them, but you can go from here. cfapplication name=yourApplicationName cfscript sessiontrackerObj= createObject(java,coldfusion.runtime.SessionTracker);

RE: Display number of users online

2007-04-16 Thread Jaime Metcher
- From: Joel Watson [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 April 2007 12:03 PM To: CF-Talk Subject: Display number of users online I have a site (a forum, really) that allows users to login and post messages. Is there a way that I can display the number of users that are currently