Solved

ASP.Net - Adobe PDF cache data problem

Posted on 2008-10-13
2
1,364 Views
Last Modified: 2012-05-05
I generated pdf file in server directory and embedded link in asp.net page. I generated pdf files everytime user request (same file name but different data) because I do not want a bunch of files in my server folder.

When I login with another user and generate another pdf (override old file). I can see that new file has been generated and replaceed the old pdf in server directory. However, when adobe reader (embedded in clident side browser) shows the old pdf file, even if I click Ctrl+F5.

// I have in this in Page_Load, but it doesn't help...
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1));
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();

Does adobe reader cache pdf file or asp.net cache file? How can I avoid this? Appreciate any suggestion! Thank in advance.
0
Comment
Question by:winmyan
2 Comments
 
LVL 18

Accepted Solution

by:
Ajay Sharma earned 500 total points
ID: 22710461
0
 

Author Closing Comment

by:winmyan
ID: 31505638
Links are somewhat useful. Thank you for your help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

*Adobe Acrobat 9 was used for this article. Particular steps may vary depending on software versions. 1. Create a framework of your form in Word, leaving space where you’d ultimately like the Adobe fields to appear.  (Note: I use the blank lines …
PDF files have been in the limelight due to its unmatched features.  Personal documents, emails, business reports and eBooks are all converted into PDF files owing to peerless features provided by it. Adding watermark to a PDF file is a method to se…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now