Sent by Art Bergquist on 09/02/2017 09:25:06 PM:
I've got a web page in which I programmatically create an .html file in a certain folder/directory on the server.
My client has ActivePDF's DocConverter running on the server; DocConverter watches that folder/directory so that anytime an .html file gets created there, DocConverter automatically generates a .PDF file from the .html file.
The issue is that when the web page displays with a hyperlink to the .PDF file, the .PDF file has not always been generated yet (in fact, most of the time, the .PDF is not immediately available).
I implemented the following line immediately after initializing the memory variable for the name of the generated .PDF file:
but when the following code gets called from the window.onload event:
it throws an "Uncaught ReferenceError: session is not defined" error.