You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Michael Smith <mj...@cursci.co.uk> on 1997/01/08 18:35:56 UTC

Can a CGI-script tell when it's been stopped.

Hi y'all (as they say over the pond, don't they?)

I was wondering if it's possible for a CGI script to be able to work out
whether the browser-user has pressed the stop button?  Bascially we have
some scripts which take a long time to run, and if the user gets fed up
waiting we'd like them to quit gracefully (not just be killed) instead
of eating up CPU that nobody wants.

C'est possible?

Michael Smith