Click here to Skip to main content
15,916,945 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am calling page in popup from java script in asp.net, but data is not refreshing. i think page is opening from cache.so how to clear cache.so that every time page open from server side.
Posted

1 solution

I m not sure if you can clear the browser cache programmatically due to security reasons.
Instead can prevent the browser from caching the page.

XML
<meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='expires' content='0'>
<meta http-equiv='pragma' content='no-cache'>


reference :
http://stackoverflow.com/questions/8155064/how-to-programmatically-empty-browser-cache[^]
 
Share this answer
 

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