I'm using the merger to merge a document and then using DrawToWeb to display the final PDF. This morning, if I run the application once, it will show the final pdf correctly, with the information that I put in the form. If I turn around and run it again, it will generate a pdf, but when I open it up, it still shows the data from the time before. Is it storing the PDF in the cache some how? Do I need to clear that?
DrawToWeb
Re: DrawToWeb
Support · Dec 14, 2006Hello,
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: DrawToWeb
Forum member · Dec 14, 2006I'm got getting the values from a Querystring. However, your suggestion fixed my problem.
Thanks!
Re: DrawToWeb
Forum member · Feb 20, 2007I'm running a query that uses the querystring for the ID to tell the query what record to pull from the database. I'm still having trouble with the caching of the page.
This is going to run on a web-based support ticket system and users could possibly running this same script multiple times in a very short amount of time.
I've tried appending the date to the querystring and it still caches the page, every time.
Is there any way to force the script to generate a new PDF every time?
Re: DrawToWeb
Support · Feb 21, 2007Hello,
Appending the date will likely not solve the problem because the date will be same for the particular day. You may want to try appending the date time stamp, so that the time will always be different and that will likely solve the problem.
Thanks,
ceTe Software Support Team