php-general | 2000071
Date: 07/14/00
- Next message: Jouni Ahto: "Re: [PHP] timezone problem"
- Previous message: Php User: "[PHP] timezone problem"
- In reply to: n e T b r a i n: "RE: [PHP] Expire"
- Next in thread: Mark Nold: "RE: [PHP] Expire"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> >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>
- Next message: Jouni Ahto: "Re: [PHP] timezone problem"
- Previous message: Php User: "[PHP] timezone problem"
- In reply to: n e T b r a i n: "RE: [PHP] Expire"
- Next in thread: Mark Nold: "RE: [PHP] Expire"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

