Topic: Active Sessions: Users/Guests


xpresources    -- 03-22-2003 @ 10:53 PM
  I would like a tutorial where it could display the number of active sessions for Guests and Users.

Like this:

There are (integer) users and (integer) guests
online

.::Drew Tempelmeyer
.::admin@xp-resources.com

Questions or Comments? WE DON'T CARE! Keep them to yourself. LOL.


CJ    -- 03-24-2003 @ 2:28 PM
  that's not really a tutorial...that's a request for a free app Smile

there's a tutorial here to get you started... http://tutorial12.easycfm.com/


CJ


xpresources    -- 03-25-2003 @ 5:54 PM
  I have that. That gets the guests only. Could somone please help me from there.

.::Drew Tempelmeyer
.::admin@xp-resources.com

Questions or Comments? WE DON'T CARE! Keep them to yourself. LOL.


webedge    -- 03-26-2003 @ 3:04 PM
  The only real way to do it is to set a cookie for your members and use it to update a DB with the last time they logged in.  You could then take the total active users tutorial to get the total guests and members on the site, query the DB to see who has logged in the last 15 mins say and that would give you the split.

Phil

No matter how much you polish a turd, it's still a turd...

WebmasterEdge.com - Online resources for Webmasters


EasyCFM.COM ColdFusion Forums : http://www.easycfm.com/forums
Topic: http://www.easycfm.com/forums/viewmessages.cfm?Forum=10&Topic=507