Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adobe is auto-refreshing a page (causing it to load twice)...why?

Status
Not open for further replies.

JohnnyBGoode

Programmer
May 1, 2002
76
0
0
CA
I have a .NET application that dynamically creates a PDF. I know that Adobe is automatically refreshing the page because the constructor of the .NET page is called twice. This is causing a problem because the .NET app hits a log file. Most times this PDF is created (but not every time), there are 2 instances in the log file for the hit. Why is this? How can I prevent Adobe from doing this?
 
Just an idea
Check all default actions on arobat or reader, regarding what is supposed to happen when opening a file.
Acrobat may do it's stuff then give you hand but too late it already did a refresh.
Also check if there are any anotations in the page. Behavior of Acrobat refresh is very much influenced by that. Again see the default openinig for annotations.
Last I have seen some influence of linearized PDF on this. Try disabling "optimize for web" option in the distiller profile you use, if you generate it using a distiller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top