Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

RE: [PHP] Expire From: Mark Nold (markn <email protected>)
Date: 07/15/00

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 <email protected>
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 <email protected>]
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>