Re: MS IE ignoring PHP HTML

From: Date: Tue, 08 Aug 2000 19:47:47 +0000
Subject: Re: MS IE ignoring PHP HTML
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-10775@lists.php.net to get a copy of this message
Look on www.php.net and send it no caching headers... IE 5.0 does ignorant, repulsive caching.... http://www.php.net/manual/function.header.php try this : header ("Expires: Mon, 26 Jul 1990 05:00:00 GMT"); header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header ("Cache-Control: no-cache, must-revalidate"); header ("Pragma: no-cache"); These must be beofe you echo/print any data out, this will hopefully tell that web browser to not cache that page. Good luck! On Tue, 8 Aug 2000, Newbie Remmie wrote: > I don't know whether this is the right newsgroup or not and could be that > i'm the 10.000th person asking this question, but i've got a rather buggy > problem! > > I've got various visitors complaining that they cannot see the data they've > just changed in the MySQL database. They keep on seeing the same page, > although the altered data is saved to the db. I've just checked it on a > Windows 98 2nd edition machine with MS IE 5.00 and they are right. Even if > another user logs in and asks for a database page, he'll see the first > version the first visitor looked at of that page, not even his own data!!! > > I haven't been able to create this problem on a Linux machine and I've > tested it with a lot of different browsers. > > I have tried the refresh button and disableling the proxy server, even > deleted all history but the problem stays! > > Can I in one way or the other force MS IE through PHP to accept the new data > my server sends the brower and not just to display the fist version of that > page it ever saw? > > I use PHP 3.8.14-2, PHP lib 7.2c, MySQL 3.22.32-1, Apache 1.3.11-1 on a > Linux 2.2.14 system. > > Hope someone can help me out. Can't imagine I'm the only one with this > problem! > > Thanx in advance > > > > > > -- > 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 >

« previous php.general (#10775) next »