Re: Re: Headers, JavaScript & PHP

From: Date: Thu, 11 Oct 2001 13:34:05 +0000
Subject: Re: Re: Headers, JavaScript & PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-70800@lists.php.net to get a copy of this message
> > I know, but this page stays in browser history, so > > clicking 'back' button submits the form again. > > try this, > > if ($REQUEST_METHOD=='POST'){ > header('Expires: ' . gmdate("D, d M Y H:i:s", time()+1000) . ' > GMT'); > header('Cache-Control: Private'); > } Wouldn't that result in something like: "This page is expired." when one comes back to the page? K'H'N

« previous php.general (#70800) next »