Re: [PHP] no-cache control

2010-04-06 Thread Karl DeSaulniers
Thanks kranthi. I thought there was a way. I was thinking you could, say, set your header content in the php.ini file?, but a .htaccess would work too. Thanks, Best, Karl On Apr 6, 2010, at 11:44 PM, kranthi wrote: you can do that by using .htacess in the required directory http://www.askapa

Re: [PHP] no-cache control

2010-04-06 Thread kranthi
you can do that by using .htacess in the required directory http://www.askapache.com/htaccess/apache-speed-cache-control.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] no-cache control

2010-04-06 Thread Kim Emax
Hi Karl 2010/4/6 Karl DeSaulniers > Is there a way to set up a no-cache control in your php.ini file or some > config file? > Sorry if this is a newb question. > Put it in the header: header("Cache-Control: no-cache, must-revalidate"); Remember headers must be the first output you do, read m