winmyan
asked on
ASP.Net - Adobe PDF cache data problem
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.U tcNow.AddM inutes(-1) );
Response.Cache.SetCacheabi lity(HttpC acheabilit y.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.
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(
Response.Cache.SetCacheabi
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER