RE: [Phplib-users] How to disable browser caching
Brought to you by:
nhruby,
richardarcher
|
From: Carl Y. <cyo...@le...> - 2002-03-28 18:50:04
|
There are cases where the url perhaps indicates a database record that has already been deleted, or some other change in data state has occurred, so it is not possible to recreate the page or else it would be venturing into undefined territory to do so. Rather than worry about all these possiblities it would be easier just to keep them from going back to stale pages. > -----Original Message----- > From: Layne Weathers [mailto:la...@if...] > Sent: Thursday, March 28, 2002 11:48 AM > To: 'Carl Youngblood'; php...@li... > Subject: RE: [Phplib-users] How to disable browser caching > > > > I have seen this behavior in IE all the time. And I'm using IE > > version 6.0. There must be an official way to disable page caching > > because I've seen a > > lot of high profile sites, like financial sites, that show > > this "page has > > expired" message when clicking the back button. > > > Yes, but why would you ever _want_ that to happen on your > site? If a visitor sees a stupid browser message while on my > site, then I'm not earning my paycheck. Instead, I use the > no-cache feature of PHPLib's sessions to rebuild the page. Of > course some browsers, like Opera, may cache the pages anyway > (and I think Opera is right to keep a true history of pages > seen). Any problems caused by actions taken from an obsolete > page will be caught by basic data checking. > > Layne Weathers > Ifworld Inc. > |