Here's a cgi script that starts a long job

This cgi script announces to the user that it is starting a long job. Typically, such a script would accept user input from a form.

After the script makes its announcement, it uses open to start a long job, then exits.

Here is the cgi script, and here is the script that it calls.

We execute this by calling unhook.cgi.

You see the problem: the server waits until the long job is completed before it sends anything back to us.

The way around this is to use nph-unhook.cgi.


Last modified: Wed May 15 16:11:10 DST 1996