I tactually had a logout button in place and working for a while, but I figure nobody will actually use it...
"A logout button... why would I use that? I'll just close the window and save myself the hassle." I also thought about updating a timestamp every time they do something. I have a function that they call once every minute so I could do an update there, but I don't see a way to have CF constantly monitor the db checking for outdated timestamps. john On Jun 14, 2007, at 7:07 PM, Dinner wrote: > On 6/14/07, John Robinson wrote: > .... >> Actually in this case, I do need to kill the session. I'm building a >> chat app. When a user leaves, I need to let the other users still >> active in the chat know that this user has left. Essentially I'm > > You can always do something like if they click the logout button, > it logs them out, and if they're inactive for 5 minutes, it says > something like "away", and then after 10 (or whatever) you just > log them out and mark them as logged out (or not, of course- > away seems to work pretty good on it's own). > > Gives the other users useful information and takes care of the > problem of the open looped system. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281265 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

