Delete files after cfzip?
I've got a web app that allows users to save database results as a PDF file (I use cfdocument for this). There's also an option for them to select up to 20 records to PDF and zip (I use cfzip for this) but with almost 6000 records in the database, I don't want PDFs to pile up. It's easy to make the script delete the zipfile after download, but I'm trying to figure out a way to clean up the PDFs.
One idea was to stick a unique identifier in the PDF filenames, then delete everything with a wildcard, but is there a better way?
