Re: Re: Question about sessions: how to force expiry

From: Date: Thu, 22 Aug 2002 15:34:04 +0000
Subject: Re: Re: Question about sessions: how to force expiry
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-113635@lists.php.net to get a copy of this message
On Thursday 22 August 2002 23:14, Peter Bottenberg wrote: > Hi, > > Place these headers in the top of your php file just below the <?PHP > and your problem should be gone. > > header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); > header("Cache-Control: no-cache, must-revalidate"); > header("Pragma: no-cache"); Remember, no matter what you do, some browsers (eg Opera) always show a cached copy when using the 'BACK' button. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Etiquette is for those with no breeding; fashion for those with no taste. */

« previous php.general (#113635) next »