NetTalk Web Server > Web Server - Share Knowledge

Temporary Files start with $$$

(1/1)

Bruce:
Hi all,

TIP: If you are generating a temp file, that is created, sent to the browser, and then needs to be deleted (in other words it will only be served _once_) then start the name with $$$. eg
temp\$$$N1234.png

The web server will automatically delete files that start with $$$ as soon as they are served.

This technique is used by the graphing template and the report tempate, so you'll notice that the PDF files generated and the PNG files generated by these templates both start with $$$.

Cheers
Bruce

Navigation

[0] Message Index

Go to full version