In addition to Steven's comments you may this useful, although it is a while since I looked at this: Pragma no-cache meta tags are ignored by all browsers and Pragma no-cache as a header is ignored by all server caching UNLESS you use https. It is an https control only. IE5+ browsers (and NS6+ ?) has replaced Pragma no-cache with
<META http-equiv="Cache-Control" content="no-cache"> but for the reasons mentioned in Steven's link may not work that well (it is not if I recall correctly mandatory for the user agent to follow...) The expires meta tag will not work unless you specify a real and complete date and time in the paste, but may be more applicable?, eg: <META HTTP-EQUIV="expires" CONTENT="Tue, 20 Aug 1996 14:25:27 GMT"> using https gets around the problem with security in forms, ie caching cc details etc but there is also a problem with editable forms, if you are using javascript, jscript use use location.reload(true) to force a hard reload of the page, however a better overall solution for the original problem may be to use this: <meta http-equiv="Cache-Control" Content="max-age=3600, must-revalidate"> where the max-age can be set to as few seconds as you wish .........this has the advantage of being more certain, and caching actually works to your advantage as it speeds up loading times for the user and they think that you have a more efficient web site, lol. Seriously though: caching is your, and the surfers, friend particularly on sites where a visitor may page back and forth so a bit of sensible thought about the lowest time span in which a page is updated and setting the cache control accordingly can be a very Good Thing......... www.WellingtonLive.co.nz ----- Original Message ----- From: "Steven Olson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 29, 2003 10:19 AM Subject: [wdvltalk] RE: Help! Need to stop page from cached in browser : > Any differences for IE/Netscape, etc. : : It seems that there are some bug and tricks involved: : http://www.htmlgoodies.com/beyond/nocache.html : : /steven : : : From: [EMAIL PROTECTED]: : : How can I make sure that a web page is abosolutly, positively NOT cached? : : TIA : : : ____ . The WDVL Discussion List from WDVL.COM . ____ : To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] : Send Your Posts To: [EMAIL PROTECTED] : To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. : To change subscription settings to the wdvltalk digest version: : http://wdvl.internet.com/WDVL/Forum/#sub : : ________________ http://www.wdvl.com _______________________ : : You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] : To unsubscribe send a blank email to %%email.unsub%% : : --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.530 / Virus Database: 325 - Release Date: 22/10/03 ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
