php-general | 2000071
Date: 07/15/00
- Next message: Christian Ruppnig: "[PHP] fetch of DB fields where null is allowed"
- Previous message: Adam Charnock: "Re: [PHP] yahoo like php script"
- Maybe in reply to: Ray Parish: "[PHP] Expire"
- Next in thread: Matthew Kendall: "Re: [PHP] Expire"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Christian Ruppnig: "[PHP] fetch of DB fields where null is allowed"
- Previous message: Adam Charnock: "Re: [PHP] yahoo like php script"
- Maybe in reply to: Ray Parish: "[PHP] Expire"
- Next in thread: Matthew Kendall: "Re: [PHP] Expire"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

