I'm not sure if this is an IIS question, or a browser question, an adobe acrobat question, or maybe even a javascript question, but I thought I'd try here first.
I have a page the opens a pdf file like so from an
the contents of the pdf file changed, so i uploaded a new testFile.pdf. Problem is, every time I clicked on the link, I'd get the old pdf file. This is true under firefox and ie. So I tried refreshing the screen. Nothing. I then tried clearing my browser caches. Nothing. I deleted the histories in each broswer and even deleted the files themselves on the server trying to get a 404 not found error - no matter what I did I could not get the new testFile.pdf to show up.
The only way I could fix it was to change the name to testFile1.pdf and change where the link went.
I can only guess this behaviour is due to the way files are cached in the browser, but maybe it's something to do with a setting on IIS? Can someone explain this as this is the first time I've run into this problem. thanks!
I have a page the opens a pdf file like so from an
Code:
href="#" onClick="window.open('somePath/testFile.pdf'); return false;"
the contents of the pdf file changed, so i uploaded a new testFile.pdf. Problem is, every time I clicked on the link, I'd get the old pdf file. This is true under firefox and ie. So I tried refreshing the screen. Nothing. I then tried clearing my browser caches. Nothing. I deleted the histories in each broswer and even deleted the files themselves on the server trying to get a 404 not found error - no matter what I did I could not get the new testFile.pdf to show up.
The only way I could fix it was to change the name to testFile1.pdf and change where the link went.
I can only guess this behaviour is due to the way files are cached in the browser, but maybe it's something to do with a setting on IIS? Can someone explain this as this is the first time I've run into this problem. thanks!