Hey guys - Having written a simple web server in Java back in my Uni days, I do know that a IOException (pretty sure it's IO.. i may need to double check that) is thrown if the client shuts off their browser or pushes the stop button.
I'm not sure how you would catch that in coldfusion short of writing your own servlet code... Hmnn... write a servlet that does a URL call to a CFM page (that is local) to get your HTML output... but you still have J2EE over the top... Or maybe you don't even need the URL call.. maybe you can call an underlying service... or extend the CF engine code... oooooh... Just an interesting thought ;o) Mark ------------------------------------------------------------------ [EMAIL PROTECTED] ICQ: 3094740 Safe From Bees [ www.safefrombees.com ] Quoting Barry Beattie <[EMAIL PROTECTED]>: > > with all my years with ASP I couldn't quite work out how > Response.IsClientConnected worked... > > does it go down into the TCP stack to see if packets are still > returning? > does it work off a type of ping? considering we're dealing with a > connectionless protocol, it all seemed like voodoo to me then... > > I'd be curious too.. > > barry.b > > > > > > -----Original Message----- > From: Elliot Russo [mailto:[EMAIL PROTECTED] > Sent: Thursday, 22 April 2004 9:55 AM > To: CFAussie Mailing List > Subject: [cfaussie] isClient<still>Connected - aborting cancelled > request > > Hi, > > is asp you can test for the 'client-connectedness' during a long page > output - is there a feature in cfmx or underlying java to get this same > info > > idea is > > output > flush > output > flush > if NOT isConnected > abort > > output > flush > > if NOT isConnected > abort > > etc > > Elliot > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > http://www.mxdu.com/ + 24-25 February, 2004 > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > http://www.mxdu.com/ + 24-25 February, 2004 > > > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
