Superimposed Text

Superimposed Text

Forum member · Dec 13, 2005
I have an online survey and save the responses to a database. I fetch the responses and create a pdf and email that pdf file. This all works fine. However, when creating the pdf I print out on the pdf a unique id for the survey and the date submitted in a header template. I am finding that when I submit surveys the current unique id is superimposed over the old one and the new datetime is superimposed over the old one. Note that I close and reopen the browser between each submission. I don't know why the old values are still there. So, I'm thinking some cache on the server is causing this so I prevent the server from caching the page. The problem still occurs. So, what is hanging about that I get this problem? How can I solve this? Do I need to explicitly "kill" the previous pdf? Thanks. Lisa

Re: Superimposed Text

Support · Dec 13, 2005
Hello Lisa, The reason you are seeing this behavior is because somewhere in your code, you are using some static variable either for the template or for the unique id. So every time the new unique id is getting added on top of the previous id. Make sure to create a new template each time you load the browser to prevent this from happening. If you can not figure out then please send us over your entire code and the output PDF document at [^a|mailto:support@cete.com|Support^] so that we can take a look at it and see what is causing the unique id to be superimposed? Thanks, ceTe Software Support Team

Re: Superimposed Text

Forum member · Dec 13, 2005
That was it! I was using a static template variable. Thanks so much! Lisa