I’m working on a project that involves outputting PDF directly to the screen and it works! but only if I remember to hit the ‘refresh’ button. how does one make the page do this automatically?
I know there’ s simple stuff like using META tag for refresh and javascript document.location.reload(true); but those aren’t working for my set up.
the odder thing about what I am doing is, the PDF is generated in Memory and displayed to the browser directly as a binary image, so there’s not a URL to reference, which means the META tag solution (from what I can tell) won’t work.
I also have s sneaking suspicion that no matter what I do some browsers, because of settings, will not listen to some javascript code that tells it to refresh.
However, perhaps I am wrong on that
Anyhoo, does anyway have a quick solution? I’m thinking some kind of javascript that kicks in after OnLoad() or some such.
I’ll keep poking around, but thought I’d give the loungers a try.
TIA