in reply to CGI loading another CGI script
You may find some of the replies to Managing a long running server side process using CGI help.