How to delete dynamic cfm file only AFTER the code runs?

73 views Asked by At

I'm using the in-memory file system to execute dynamic CFM files. How can I delete the temporary file only AFTER it is finished running? If I do it right after the cfinclude, it won't get deleted if the dynamic code has an abort or location tag etc. Can I create a thread that will sleep till the main page thread completes and then delete it?

0

There are 0 answers