I've got a long running script that runs as a cgi file. It can take several minutes, or even hours.
What I'd like to do, is make the script halt when someone presses 'stop' on the browser, but this doesn't seem to have any effect.
sssuming that I should get a SIGPIPE, but the script just carries on running on the server.