Solved

ASP.Net - Adobe PDF cache data problem

Posted on 2008-10-13
2
1,377 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IIS issues - Convert to Application - APS.NET v4.0 3 33
Regex validation 2 24
Adobe Reader DC printing black lines 4 14
Winform Module - What is the ASP.Net equiv 2 19
One of the questions I get asked again and again is how to validate a field value in an AcroForm with a custom validation script. Adobe provided a lot of infrastructure to do that with just a simple script. Let’s take a look at how to do that wit…
*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 …
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

785 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