My initial reaction is "why is this a CGI?", that seems like a solution looking for a problem.
That aside, what I would do is have the cgi script launch a process in the background, rather than having the cgi wait for it to finish. That way you could use lockfiles, and allow the subprocess to run even if the browser stops.
In reply to Re: Locking out a CGI script whilst it runs
by jasonk
in thread Locking out a CGI script whilst it runs
by heezy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |