Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
When a CGI script is right in the middle printing output to the browser and you hit "stop" or "cancel" on the browser, the script obviously stops running. Is there a way to detect when this happens? I have a script that creates a temporary zip file based on parameters passed to the script, then serves the file, then deletes it. If the script gets cancelled from the browser half-way through, the temporary zip file doesn't get deleted and sits there hogging disk space. Any help is appreciated! Thanks! In reply to cleanup a cancelled CGI script by goofball
|
|