Hi again Whoa, now I'm replying my own inquirys (is it spelled like that?). Anyway, I've been searching the net for answers and came up with proxy cache. It's something about a layer in the middle also caching. To work around that you were supposed use "proxy-revalidate" but I'm not sure how it's applied. Do I use it together with the original "Cache-Control: no-cache, must-revalidate" or what?
The message I read was at: http://www.phpbuilder.com/forum/archives/2/2001/08/2/149356 ----- Original Message ----- From: "Samba Sidibeh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 23, 2001 3:29 PM Subject: [PHP-WIN] no cache? Hi y'all I'm using the following script to send headers preventing browsers from caching my page (since the page is supposed to be dynamic). But it seems as none of the headers work. The only thing working right now is setting your browser to never cache pages (and I think that's a bit too much to ask from every person logging on). So, can anybody help me? function no_cache() { global $SERVER_PROTOCOL; if ($SERVER_PROTOCOL == 'HTTP/1.0') { header("Pragma: no-cache"); // HTTP/1.0 } else { header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 } } ------------------------ Samba Sidibeh Systemutvecklare SYSteam Udac AB Storgatan 19, Box 174, 751 04 Uppsala SWEDEN Tel direkt: 018-67 81 35 Tel vxl: 018-67 80 00 Fax: 018-51 66 00 Hemsida: www.systeam.se, www.udac.se SYSteam Udac ingår i SYSteamkoncernen. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]