could u tell me if there is a method to make php pages expire straight away so that they dont get cached at all. I have some gd images wich seem to be getting cached.
Thanks once again for all the help.
Robber
1:30 pm on Mar 15, 2006 (gmt 0)
If its the images getting cached that the problem a quick fix can be to stick a query string on the end of them based on a timestamp, eg xyz.gif?x=20060315121212
header('Cache-Control: no-cache, no-store'); // set no caching header('Expires: '. gmdate('D, d M Y H:i:s \G\M\T', time() - 3600)); // set expiration header to hour before current time