On Fri, 9 Mar 2001 00:22, Daniel Corrêa de Azevedo wrote:
Whatz up, guys?
Well, I´m having problems in reloading a page that shows information contained in a table of a database. The problem is that whenever I include some data in the database at another page it send´s me back to that page that shows information, it doens´t show the update, but a cached page. I´m using the IE 5.0 and I haven´t figured out how to reload it every time without changing the configuration of the browser. I´ve tryed the same code that I´m using in IE 5.0 in IE 5.5 and this problem doens´t happen. Hope that you all could give me some help. Thank´s,
It's almost certainly your browser. IE seems to come default configured to only check for new pages once persession, or sometimes "never" (or until the item is flushed from the cache). Under Netscape, you could simply hold Shift whilst you pressed reload, which would bypass it's internal cache. However, just recently on this list there were two server side 'solutions' to this problem. One involved a META tag, which, imho, is a poor move when there is a perfectly good HTTP header line to use. => Tino Wildenhain wrote: => I recommend <dtml-call "RESPONSE.setHeader('pragma','no-cache')"> => <dtml-call "RESPONSE.setHeader('Expires',_.DateTime().rfc822()"> These headers should mean that nothing caches your pages. Not your browser or any proxies along the way. Another option is to just use the "Expires" line, and set it to 10seconds or so into the future...
Daniel C. Azevedo
Have a better one, Curtis Maloney