Dieter Maurer wrote: [About finding out if the client closes the connection ...] > > The "RESPONSE" object has a connection to the channel with > high probability. Start your exploration there. Totally guessing here, but maybe it's worth trying if RESPONSE.write() throws an exception if the connection is closed. If not, it should. cheers, oliver