Answer to Expired Form Results

From: Date: Fri, 17 Aug 2001 12:33:18 +0000
Subject: Answer to Expired Form Results
Groups: php.general 
Request: Send a blank email to php-general+get-63171@lists.php.net to get a copy of this message
Awhile back someone asked about why when they hit the back on their browser that the forms results didn't show up, but an error saying that they have expired and if you would like to reload, did show up. Here is how to not get that message: Put above <HTML> tag <? header("Cache-Control: max-age=3600, must-revalidate"); ?> This will let it stay there for an hour. For more information on caching take a look at http://www.mnot.net/cache_docs/ Rick

« previous php.general (#63171) next »