go ahead... be a heretic | |
PerlMonks |
Re: Locking out a CGI script whilst it runsby jasonk (Parson) |
on Feb 18, 2003 at 20:04 UTC ( [id://236376]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|