in reply to Perl/Cgi : how to delete file after leaving original myscript.cgi?
I think you're going to be better off just setting up a cron job to delete the files if they haven't been accessed within x number of hours.
You could try...To the page's body tag you could add some JavaScript (onUnload=byebye()) which would force the calling of another script which would delete the page. However in the real world there are just too many ways that this wouldn't work.
|
|---|