Jump to content
Stef's Coding Community

Clear Cache from Flash or HTML

Recommended Posts



Is there a way to clear the cache from Flash or within the html?


I have two Flash files communicating together via php/mysql.


Every time you click a link in Flash file A, it sends a number to a mysql table via php and reloads the html page Flash file B is on. Flash file B checks the mysql table via php and loads an xml page based on that number.


Works fine in all browsers except ie, which caches the Flash page and keeps loading the same page(unless you clear the cache)


So what i need is a way to clear the cache either from Flash or from the html page.


Any suggestions?



Share this post

Link to post
Share on other sites

try adding that tag to the end of the link. The link in your flash A would like something like

<A HREF='http://www.domain.com/link.php?resetcache=true'>

Share this post

Link to post
Share on other sites

ok, didn't work.


For some reason ie8 is caching the Flash so it does not update on page load. ie6&7 (+all other browsers)work fine!


I guess i have to do a browser test and load a different file for ie8!


Thanks anyway

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...