RE: [PHP] Expire

From: Date: Sat, 15 Jul 2000 15:28:33 +0000
Subject: RE: [PHP] Expire
Groups: php.general 
Request: Send a blank email to php-general+get-6757@lists.php.net to get a copy of this message
The only thing i would add is if your pages are secured (via HTTP AUTH and maybe SSL) most browser will not cache them by default. Proxies are a different matter and can really depend. Mark Nold markn@alverstone.com.au Systems Consultant Change is inevitable, except from vending machines. On Saturday, 15 July 2000 6:38, n e T b r a i n [SMTP:net-brain@net-brain.net] wrote: > Ray wrote: > > >Can someone tell me how to expire the dynamically generated pages created > >via php? > >I tried header("Expire: Mon 04, 1998 01:02:58 GMT"); > >with no luck. > > I'm not very sure, but have u tried to set: > > header("Pragma: no-cache"); > header("Cache-Control: no-cache, must-revalidate"); > > I hope this help you. > max

« previous php.general (#6757) next »