> Given that that is the case and I have no way of knowing the > browser closed, I have a function (defined in a .cfc) called > by flash that basically loops for a while and returns some > data (or it times out and then returns an empty record set). > As soon as I get this response, I send out a new request from > flash. So I'm thinking that whenever a client closes their > browser that they will be in the middle of this call, waiting > for a response. Make sense? I'm also guessing that there may > be an error thrown here when CF tries to return the results > to a client that doesn't exist anymore. Can I catch this error > in Application.onError and tell CF to end the session?
I don't think you'll get an error here, actually. But even if you did, you don't really need to worry about killing the session, since the client won't make any subsequent requests. If you're calling this function frequently, you can set the session timeout to be very short, say five minutes. > This could probably be a new post, but what I'd really like > to learn is a decent way to monitor the events in > Application.cfc. As it stands, the browser window is closed, > so how do I view any trace/ debug statements coming from > those events? Use CFLOG to write them to a file. 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 robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281177 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

