in reply to How can I kill pid of parent and keep that of child alive
You might be interested in Watching long processes through CGI.