R
Rohan
Hi
I have python-CGIs for my web application running on apache 2.
Few of the CGIs run for a long time.
When such a CGI is running and user presses "Stop" button of browser
(or connection is aborted) how can I identify such situation and
terminate
the CGI.
I don't want the CGI to complete the processing and terminate when it
tries to write to client pipe.
It would be good to terminate it as soon as client connection is
aborted.
How can I achieve this?
Any help is appreciated!
Thanks
Rohan
I have python-CGIs for my web application running on apache 2.
Few of the CGIs run for a long time.
When such a CGI is running and user presses "Stop" button of browser
(or connection is aborted) how can I identify such situation and
terminate
the CGI.
I don't want the CGI to complete the processing and terminate when it
tries to write to client pipe.
It would be good to terminate it as soon as client connection is
aborted.
How can I achieve this?
Any help is appreciated!
Thanks
Rohan