I know this problem. Konqueror, Netscape, Mozilla, and Opera are all broken.
They use cache regardless of whether or not they should when you use the back
button. I know of no way around it.
What especially pisses me off is that Mozilla, shortly before 1.0, worked
properly, even when you used the back button, as IE does. But the 1.0
release broke it, as though they did it intentionally.
Here's what I use, though it really only works in IE where the back button is
// Don't allow browsers to cache data
header ('Last-Modified: '.gmdate("D, d M Y H:i:s").' GMT');
header ('Expires: '.gmdate("D, d M Y H:i:s").' GMT');
header ('Cache-Control: no-cache, must-revalidate');
header ('Pragma: no-cache');
If anyone has any further information, I would appreciate it. Are there
workarounds in PHP? Or do I need to complain to the web browser makers?
On Friday 06 September 2002 05:44 am, Krzysztof Dziekiewicz wrote:
> 4.09.2002, 17:48, Victor V. Evtushenko wrote:
> > Donpro wrote:
> >> Hi,
> >> Using I.E. 5.5. I can't seem to keep a page from caching. When I click
> >> on
> > Have you read "HOWTO: Prevent Caching in Internet Explorer"?
> > http://support.microsoft.com/default.aspx?scid=kb;EN-US;q234067
> According to the description I inserted "header('Expires: -1');"
> It is fine if it is Internet Explorer.
> But e.g. Opera ignore the header. After BACK it displays old
> content. I even switched off all cache options in preferences but it
> does not help.
> >> the browser BACK button, I get the cached page so I have to click on
> >> Refresh to get the actual page content. I've placed the following at
> >> the top of the HTML file but it doesn't seem to do anything. Any help
> >> would be appreciated.
> Krzysztof Dziekiewicz
Casey Allen Shobe / Network Security Analyst & PHP Developer
SecureWorks, Inc. / 404.327.6339 x169 / Fax: 404.728.0144
[EMAIL PROTECTED] / http://www.secureworks.net
Content is my own and does not necessarily represent my company.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php