Re: .swf file being cached in IE
| From: | andre | Date: | Wed, 15 Nov 2000 09:34:57 +0000 |
| Subject: | Re: .swf file being cached in IE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25399@lists.php.net to get a copy of this message | ||
hi brett,
we've got the same problem with our flashbook ( guestbook with flash and
mysql )
our solution:
the php-file which gets the values out of the mysql-database starts with
<?
// send header information for a forced reload
header ("Expires: Fri,09 Sep 1966 06:09:06 GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header ("Cache-Control: no-cache, must revalidate");
header ("Pragma: no-cache");
...... and here the code
so that the data can't be cached
greetings
andreas
----- Original Message -----
From: "JNewman" <brett@jnewmanshirts.com>
To: <php-general@lists.php.net>
Sent: Wednesday, November 15, 2000 9:57 AM
Subject: [PHP] .swf file being cached in IE
> I have a .swf that pulls variables from a php script to display the
weather,
> time, and date on every page. This works fine in netscape and opera, but
> the .swf file gets cached in IE and displays the same info every page
visit.
> Has anyone encountered this and is there a solution?
>
> Thanks,
> Brett
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>