Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

RE: [PHP] Expire From: Richard Heyes (php <email protected>)
Date: 07/14/00

> >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");

Alternatively, try

header('Expires: Mon 04, 1998 01:02:58 GMT');

Note the s.

-- 
Richard Heyes
http://www.heyes-computing.net/scripts/
Plain text email only please!

-- 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>