Updating .swf's
January 6th, 2009
$v = $HTTP_COOKIE_VARS['version'];
if($v == "128"){
$r=0;
}else{
setcookie('version', '128', time()+60*60*24*30);
$r=rand(1, 9999);
}
?>
then at both do something like:
value="site.swf?r="
src="site.swf?r="
And on the persons computer it just stores a cookie with the version. if its different print a random number if not just print a constant. This requires you to change the version number 128 to something higher whenever you make a new version.
I'm sure one of your coworkers knows how to impliment this if you dont if not feel free to ask.
#If you have any other info about this subject , Please add it free.# |