Currently I am creating a script for dynamic page out put using c++. It is just about finished and the last part is to create a technique to download a dynamically generated file from the client. I have the interface set up for this, but to do it, I first create a temporary file in a temp folder and then linnk to this file.

This is fine.

What I have heard is that there is a way using HTTP or Apache commands to delete the file after a delay. kind of like a "Delay Delete" command. I have scoured the web and can't find what I am looking for. Does anyone have any recommendations or suggestions?