s0c0 Posted February 22, 2007 Share Posted February 22, 2007 My app requires that the browser not cache the page. This is because each time the user clicks a specific link an xml file is generated which contains some file links and metadata read by a flash application. But the browser is caching the page and it's caching the flash app or something like that. When the user re-generates the xml the content within the flash app is not refreshed. Instead the user must manually clear browser cache. Here is what I have implemented in an attempt to solve the problem: /* prevent browser cache */ header( "Expires: Mon, 20 Dec 1998 01:00:00 GMT" ); header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" ); header( "Cache-Control: no-cache, must-revalidate" ); header( "Pragma: no-cache" ); I've tried a number of variations with this, but it is still caching whats in the flash player. The html tables are redrawn with fresh mysql table content, but thats it. Was I clear? I hope so! I'd like to get this solved. Thanks for reading. I have full access to the system so if there is an apache2 directive or php5.ini parameter just let me know. Quote Link to comment Share on other sites More sharing options...
s0c0 Posted February 22, 2007 Author Share Posted February 22, 2007 bump Quote Link to comment Share on other sites More sharing options...
s0c0 Posted February 23, 2007 Author Share Posted February 23, 2007 Ideas? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.