Re: Mini OT

From: Date: Wed, 30 Aug 2000 15:29:37 +0000
Subject: Re: Mini OT
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2481@lists.php.net to get a copy of this message
At 19:44 29-8-00 -0300, Jayme Jeffman Filho wrote:
There is a JavaScript statement wich cleans up the previous location of the browser : parent.location.replace("yourstuff.html"); If you can do this way I'm sure it works very fine. I hope this helps. Jayme Jeffman Filho www.conex.com.br/jjeffman -----Mensagem original----- De: Enrico Comini <algobit@algobit.com> Para: ML-PHP-DB <php-db@lists.php.net> Data: Terça-feira, 29 de Agosto de 2000 17:49 Assunto: [PHP-DB] Mini OT Excuse me for the 'OT but I think many have the answer. I don't wont the return in a previous page with the BACK of the browser, I want the page Expired before seen. I try this KIT of meta tag without solution. <meta http-equiv="expires" content="0"> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache, must-revalidate"> There is a solution ? Grazie, Enrico
Try this Works for me
        function Html_Disable_Cache() {
                header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
                header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
                header("Cache-Control: no-cache, must-revalidate");
                header("Pragma: no-cache");
        }
Greetz, WIco
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.db (#2481) next »