I'm new to Python and Apache, my experience is using ASP with IIS. Is there a way to tell, using CGI, that the client is no longer connected? ASP has a ClientConnected property that makes it easy to stop a long query if the client has stopped waiting. Thanks for your help, Adam Ruth