in reply to How to replace the output (new html page)?
Its an issue of http. See Watching long processes through CGI (Aug 02) and Proc::Background