Re: Expire page...

From: Date: Mon, 10 Sep 2001 18:19:47 +0000
Subject: Re: Expire page...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66795@lists.php.net to get a copy of this message
It's in the manual here: http://www.php.net/manual/en/function.header.php It gives this solution header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified header ("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header ("Pragma: no-cache"); // HTTP/1.0 Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com ----- Original Message ----- From: "Dhaval Desai" <dhaval_adams@yahoo.com> To: <php-general@lists.php.net> Sent: Monday, September 10, 2001 12:31 PM Subject: [PHP] Expire page... > Hi! > > > Well I would like to expire a page after you move away > from that page and the user should not be able to hit > the browser's back button and see the contents. I t > should show that the page has expired.. > > In ASp it is very easy to do that but in Php I am > looking all over and still can't find it. > > > Can anybody help me please... > > > Thank You > > > Regards, > Dhaval

« previous php.general (#66795) next »