Consider updating a structure in the App scope when you update a user's
session scope?

If you're using App.cfc, it would be even easier. Using the sessionStart and
sessionEnd methods, you could store something in the app scope as to what
users are logged in. Heck, you could even record where the user currently is
inside your app just like vBulletin.
 

-----Original Message-----
From: Matthew Williams [mailto:[email protected]] 
Sent: Monday, December 15, 2008 11:31 AM
To: cf-talk
Subject: How do I replicate some vBulletin board functions?

There's a really nifty feature in vBulletin, mySpace, etc. that shows a user
as being "online now".  Does anyone have an ideas how to pull this off in
ColdFusion?  My users are logged in with various information being thrust
into the session scope.  I'm thinking I'll need to run scheduled task every
5-10 minutes that checks for a users logged in status, and then updating a
table.  Or, maybe there's an easier way?


Matthew Williams
Geodesic GraFX 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316770
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to