in reply to Re^4: Running CGI script within another cgi script
in thread Running CGI script within another cgi script
Generally looks okay to me... except for the print redirect('http://localhost/test.html'); which would redirect without delay, so that the browser would request the output page more or less immediately, when it hasn't been written yet completely (I'm supposing the test.html is being produced by function_call(), as you mentioned before).
This would either lead to partial/premature content being returned, or - more likely on Windows (AFAIK, the file would be locked by the writing process) - the webserver would not be allowed to read it at all, before the long-running process has finished writing the file... Why not stick with the http-equiv="refresh" (with a delay) that you had tried originally?
BTW, are you sure it's the original request that hangs, or is it the new redirected one?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Running CGI script within another cgi script
by Anonymous Monk on Nov 28, 2009 at 07:52 UTC | |
|
Re^6: Running CGI script within another cgi script
by Anonymous Monk on Nov 28, 2009 at 08:03 UTC | |
by Anonymous Monk on Nov 28, 2009 at 10:28 UTC | |
by Anonymous Monk on Nov 28, 2009 at 13:08 UTC | |
by Anonymous Monk on Nov 28, 2009 at 13:16 UTC |