vanillapod
MIS
Hi I'm storing some PDF files with eh file extension asp so that they can't be downloaded by a user guessing the code. Anyway I have a web page that renames the file with the pdf extension and gives it a new filename. The idea is that this file will then be viewed online by the user.
My problem is that although I've renamed the file so its pdf and has a new filename I don't know how to:
1. Get the new file to the browser so it can be viewed online
2. Ensure the new file with the PDF extension is deleted as soon as the browser has finished loading the file...
Any ideas anyone?
My problem is that although I've renamed the file so its pdf and has a new filename I don't know how to:
1. Get the new file to the browser so it can be viewed online
2. Ensure the new file with the PDF extension is deleted as soon as the browser has finished loading the file...
Any ideas anyone?