|
Posted by "Rahul S. Johari" on 10/20/02 11:16
On 5/19/05 10:59 AM, "Murray @ PlanetThoughtful"
<lists@planetthoughtful.org> wrote:
> Try forcing the browser to bypass the cache by adding the lines at the
> following link to your page:
>
> http://www.faqts.com/knowledge_base/view.phtml/aid/21068/fid/51
I thought this would definitely work because it looks like exactly what I
need. IE is picking up the image from the cache no matter what.. And it
seemed this piece of code is exactly for that, so that IE doesn't pick up
images/data from the cache. But it's still not working! IE is still indeed
picking up the image from the cache.
This is how the beginning of my php page looks like:
<?php
session_start();
header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header ("Cache-Control: no-cache, must-revalidate"); // for HTTP/1.1
header ("Pragma: no-cache"); // for HTTP/1.0
?>
Stll... IE is displaying the image that has already been displayed on first
login attempt... It won't display new Image untill you actually physically
hit the "REFRESH" button on the browser.
Any suggestions?
Rahul S. Johari
Coordinator, Internet & Administration
Informed Marketing Services Inc.
251 River Street
Troy, NY 12180
Tel: (518) 266-0909 x154
Fax: (518) 266-0909
Email: rahul@informed-sources.com
http://www.informed-sources.com
Navigation:
[Reply to this message]
|