in reply to Re^3: cgi redirect
in thread cgi redirect

Sounds like you're trying for something like this: Re: Managing a long running server side process using CGI.