Re: Securing areas of a web site with PHP

From: Date: Wed, 01 Jan 2003 11:24:32 +0000
Subject: Re: Securing areas of a web site with PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-129838@lists.php.net to get a copy of this message
Tularis wrote:
I adives to make sure the browser doesn't cache it *at all*. This can be done using (one, or more) of the following headers: // HTTP 1.1 compliant: header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); // HTTP 1.0 compliant: header("Pragma: no-cache");
I'll try this out and see what I get. Though I have read that not all browsers follow cache-control directives ... This would cause the load on my web server to increase for those pages though ... might there be another way? If not then it will have to do ... Thanks for the advice! Jc

« previous php.general (#129838) next »