Solved

ASP.Net - Adobe PDF cache data problem

Posted on 2008-10-13
2
1,352 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
Comment Utility
0
 

Author Closing Comment

by:winmyan
Comment Utility
Links are somewhat useful. Thank you for your help.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This article is in response to a question here (http://www.experts-exchange.com/Other/URLs/Q_28283850.html) at Experts Exchange. The Original Poster has a scanned signature and wants to make the background transparent so that the signature may be pl…
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 fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

763 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

16 Experts available now in Live!

Get 1:1 Help Now