Killersites Community: Clear Cache from Flash or HTML - Killersites Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Clear Cache from Flash or HTML

#1 User is offline   trowley 

  • PipPip
  • View blog
  • Group: Member
  • Posts: 25
  • Joined: 11-February 09

Posted 07 October 2010 - 08:45 AM

Hey:

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?

Thanks!
0

#2 User is offline   J Stern 

  • PipPipPipPip
  • View blog
  • Group: Member
  • Posts: 103
  • Joined: 28-April 10

Posted 07 October 2010 - 03:17 PM

Have you tried adding ?resetcache=true to the address.
0

#3 User is offline   trowley 

  • PipPip
  • View blog
  • Group: Member
  • Posts: 25
  • Joined: 11-February 09

Posted 07 October 2010 - 04:36 PM

Thanks for the reply!

How do you do that?
0

#4 User is offline   J Stern 

  • PipPipPipPip
  • View blog
  • Group: Member
  • Posts: 103
  • Joined: 28-April 10

Posted 08 October 2010 - 11:24 AM

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'>

0

#5 User is offline   trowley 

  • PipPip
  • View blog
  • Group: Member
  • Posts: 25
  • Joined: 11-February 09

Posted 08 October 2010 - 01:07 PM

Thanks, I will try that!
0

#6 User is offline   trowley 

  • PipPip
  • View blog
  • Group: Member
  • Posts: 25
  • Joined: 11-February 09

Posted 08 October 2010 - 01:24 PM

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
0

#7 User is offline   virtual 

  • PipPipPipPip
  • View blog
  • Group: Advanced Member
  • Posts: 881
  • Joined: 29-December 08
  • LocationLa Jolla, California

Posted 08 October 2010 - 01:59 PM

You can tell IE8 to act like IE7
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Lynne
180virtual
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users