You're right, it is onSessionEnd. I have that working. I'm going to try to see what errors I can get later tonight.
And yes, you're right in that I *should* be using FMS (I'd much rather be!) but my client wants this in CF. The chat actually works pretty well so far aside from this one issue. We're working on a sort of 'long-polling' solution that is pretty snappy for the end user, which might explain why I'm making the call every minute. I might just have to live with a short timeout on the session and handle it that way (which is what I'm doing now). Either way, thanks for your help! john On Jun 14, 2007, at 5:31 PM, Dave Watts 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 deleting them from a temp table in a >> db. Make sense? The only indication I've found so far is >> onEndSession. I'm thinking if I get an error, I will know the >> user isn't around and can force the session to close, which >> should trigger my onEndSession event. > > I think you're looking for onSessionEnd, but that's not going to > help you > anyway. In an HTTP application, the server never knows when the > browser > won't make a future request. And honestly, I don't think you're > going to see > that error. You need frequent polling in a synchronous environment to > determine when a session should end, or you need to use an > asynchronous > environment like Flash Media Server. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction at our training centers in Washington DC, Atlanta, > Chicago, Baltimore, Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 by AdobeĀ® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281199 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

