Hey All,
I have a dynamically genereated pdf, which loads for preview into an iframe where (if the preview of the PDF proves unsatisfactory) upon closing/hiding the pdf_preview_iframe to re-generate the pdf, the iframe.src is re-set to about:blank, and the PDF is DELETED (PHP).
That’s all good, however once the PDF is re-created and pdf_preview_iframe is once again displayed with the iframe.src=”Untitled.pdf”, the PDF displayed within the Iframe is NOT the newly re-created Untitled.pdf, but the original Unsatisfactory Untitled.pdf which has in fact been deleted, and is now replaced anew.
WTF??? How would I ensure the PDF file being loaded is the current file, and not the first one loaded, now read from cache instead of the specified file?