> 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!

This email has been processed by SmoothZap - www.smoothwall.net


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281192
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