in reply to Clear browser window while executing CGI script
Replies to Managing a long running server side process using CGI may help, they helped me ;).