in reply to Perl/Cgi : how to delete file after leaving original myscript.cgi?
The short answer is that you cannot, HTTP is stateless so you have no notification that any given connection request is the last one.
Perhaps the best thing to do is to setup a timed job that will delete all binary files which are older than 30 minutes in a cronjob?
This is my 100th post
|
|---|