in reply to Creating a background task from the web
merlyn wrote Watching long processes through CGI, which details all you want.