Acrobat caching pdf

Acrobat caching pdf

Forum member · Apr 13, 2006
I am form filling a pdf but the pdf is being cached somehow. This is what I am doing: * create a pdf with data from db. * close the browser. * update a couple of fields in the db. * recreate pdf and none of my fields have been updated I have the browser cache set to false. The only way I can see my changes is if I go to task manager and end the AcroRD32.exe process and view the pdf again. How can I stop Acrobat from caching the pdf? // output document.DrawToWeb(this, false); Response.End();

Re: Acrobat caching pdf

Support · Apr 14, 2006
Hello, The reason you are facing the problem is because the Acrobat Reader caches the values temporarily. So if you are getting the data from a query string and you are resubmitting the same query, the changes you make to the form field will not be reflected unless you make changes to the query. A workaround to this problem would be going to Edit Menu --> Preferences --> Select Forms on the left Panel --> Uncheck the check box that says “Keep forms data temporarily available on disk. This will solve the problem on your machine but you will need to do this on all client machines. More efficient way of doing this is by appending a random number or time stamp to the query string every time it gets submitted. This will prevent the values from being cached. Thanks, ceTe Software Support Team

Re: Acrobat caching pdf

Forum member · Sep 6, 2006
I've experienced this same "cache" issue and have resolved it using a timestamp in the query string as you suggested. I have another application that has parameters in the query string that are not unique (no timestamp), and the issue does not occur. It has been suggested to me that this is because the second application calls Response.Clear() before calling DrawToWeb(). In the second application is the cache issue avoided by calling Response.Clear() or is the issue resolved by using any query string unique or not?

Re: Acrobat caching pdf

Support · Sep 6, 2006
Hello, In our experience with trying to test the caching issue, adding Response.Clear() immediately before the DrawToWeb() method did not resolve the caching behavior. However, we were able to resolve it by making the query string unique by adding a time stamp. Thanks, ceTe Software Support Team