Click here to Skip to main content
15,886,791 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
PDF is viewed in iframe, when a PDF is updated via code behind, instead of new updated pdf, old pdf is viewed. This cache issue occurs in Internet Explorer (10) alone not in mozilla and chrome. I have used below things:

C#
<%@ OutputCache Location="None" %>

  Response.Cache.SetAllowResponseInBrowserHistory(false);

  Response.Cache.SetCacheability(HttpCacheability.NoCache);

  Response.Cache.SetNoStore();

  Response.Cache.SetValidUntilExpires(true);


Regards,

Bala
Posted
Updated 25-Apr-14 21:02pm
v2
Comments
Sampath Lokuge 26-Apr-14 3:03am    
Now what's your problem ? :(
[no name] 26-Apr-14 3:20am    
what's your problem. Do you need clear internet cache by programatically?
Sunasara Imdadhusen 26-Apr-14 5:23am    
Not clear. please provide more details for the same!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900