Re: refresh the page on back

From: Date: Thu, 14 Oct 2004 07:17:54 +0000
Subject: Re: refresh the page on back
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-36791@lists.php.net to get a copy of this message
use the cache disable headers in HTML as well as PHP for the server side headers. pick any of the two methods. 1-HTML caching control: <meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="cache-control" content="must-revalidate" /> <meta http-equiv="cache-control" content="proxy-revalidate" /> <meta http-equiv="expires" content="Sat, 06 Dec 2003 1:00:00 GMT" /> 2-PHP server headers for caching control: // Date in the past header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // always modified header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // HTTP/1.1 header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); // HTTP/1.0 header("Pragma: no-cache"); On Thu, 14 Oct 2004 12:19:27 +0530, balwantsingh <balwantsingh@indoasian.com> wrote: > first of all excuse me for putting the non related question in this forum. > but i am sure someone will help me. > > i want that whenever users press the browser back button, the page should be > refreshed and than displayed. > > thanks for your help in advance. > > with best wishes > balwant > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- M.Saleh.E.G 97150-4779817

« previous php.db (#36791) next »