RE: refreshing pages in the cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You need to still put in the standard PHP tags as you would normally and it is just another line of code.

e.g

<?php
 header("Cache-Control: no-cache");
?>

> To: php-general@xxxxxxxxxxxxx
> From: jim.giner@xxxxxxxxxxxxxxxxxx
> Date: Wed, 27 Apr 2011 21:33:16 -0400
> Subject: Re:  refreshing pages in the cache
> 
> ok - I'm lost.  What do I do with this knowledge?
> 
> ----- Original Message ----- 
> From: "Sean Greenslade" <zootboysean@xxxxxxxxx>
> 
> >>
> > Sure. In order to "tell" the browser to not cache a page, you need to set
> > the header "Cache-Control: no-cache". This can be done by the PHP command
> >
> > header("Cache-Control: no-cache");
> >
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
 		 	   		  

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux