no problem,
I know the issue because I've worked with swf charts and IE keeps
caching the file.
there's something you can do, instead of putting an hash to swf, try
putting something like this in source url:
/controller/action/param?uniqueid='.uniqid(rand(),true)
kain
On 25/dic/06, at 17:11, gabordemeter wrote:
Thanks for the feedback Claudio. Alreay tried doing:
<?php echo $swfobject->display('/swf/chart.swf?nocache='.floor(rand(1,
1000000)/rand(1, 10000)), 'Chart', '800' , '350', '7' , '#fff'); ?>
IE doesn't seem to care. Still showing the old chart.
Any other suggestion. Is it possible to send something in the
header of
the page to force the browser to download the swf as opposed to
caching
it?
Changing the name of the file every time is not a good option as the
same .swf will be used by all users (the graph is drawn dinamically in
AS after receiving the data from cake via amfphp).
On Dec 25, 10:56 am, "Claudio Poli " <[EMAIL PROTECTED]> wrote:
don't know if it will work, but maybe you can prevent caching
appending
a ?<hashhere> to chart.swf.
hash can be generated in multiple ways, like a date or a md5 hash.
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---