mfindlay Posted December 18, 2007 Share Posted December 18, 2007 I have a script which creates a user defined temp file on the server, adds some stuff to it and then lets the user download the file, then destroys the file when downlaoded. Is it possible to destroy a temp file when the browser closes if the user doesn't download the file?? Cheers. Quote Link to comment Share on other sites More sharing options...
jvrothjr Posted December 18, 2007 Share Posted December 18, 2007 Can you use a javascript onunload that kills the files on close? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.