seting action on exit of page
Is there any way to set an action on exit of the page?
I mean, in one window i'm uploading files to temp directory and if user presses 'correct' button it targets custom tag which deletes these files.
My concern is that if user will leave page without either pressing that 'correct' button or 'upload' button (Both deletes files) these files will be left in the server.
So is there any way to target my custom tag on exit of the page?
cheers,
Simon
