Re: clearing cache ...... still not workin out

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

 



How do you send this file generated graph to the
client browser? 
Are you using one of the functions ImagePNG(),
ImageWBMP(), ImageJPEG() 
or 
are you presenting a link to your graph in php
generated html output? 

Piotr

--- toby z <blue_myth_1@yahoo.com> wrote:
> thnx guyz
> 
> but i have tried 
> 
> header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");   
> // Date in the
> past
> header("Last-Modified: " . gmdate("D, d M Y H:i:s")
> . " GMT");   //
> always modified
> header("Cache-Control: no-store, no-cache,
> must-revalidate");  //
> HTTP/1.1
> header("Cache-Control: post-check=0, pre-check=0",
> false);
> header("Pragma: no-cache");                        
> // HTTP/1.0
> 
> 
> and it aint working either .....
> 
> its still the same .... have to refresh the dammed
> page .....
> 
> i must be scewing something somewhere .....
> cant figure out what n where .....
> 
> anyother ideas anyone .....
> 
> thanx a mill ....
> 
> toby
> 
>  --- Piotr Pluciennik <ppluciennik@yahoo.com> wrote:
> > Before sending
> your graph with: 
> > 
> > Imagegif($im);
> > 
> > try things like that:
> > 
> > Header("Expires: Fri, 10 Jun 1976 07:00:00 GMT");
> > 
> > HTH
> > Piotr
> > 
> > --- toby z <blue_myth_1@yahoo.com> wrote:
> > > hay guyz
> > > 
> > > this is a rather silly thing
> > > but its starting to drive me now
> > > 
> > > i have a page with a million switches ....
> checkin
> > > and including
> > > files for each case .....
> > > 
> > > the files on their turn run a few queries 
> > > and then each calls a file generate graph 
> > > which generates a graph for the query rum
> earlier in
> > > the caller file
> > > 
> > > u know the works .....
> > > 
> > > the problem is
> > > 
> > > each file passes to the grapgh file the data
> fetched
> > > and the title of
> > > the graph
> > > 
> > > unless i re-fresh the page the graph displayed
> last
> > > keeps appearing
> > > and re-appearing 
> > > with the old title n old data u know .....
> > > caching the old one ...... :S
> > > 
> > > i stumbled upon clearstatcache()
> > > but it aint seem to be workin either
> > > 
> > > 
> > > and another thing
> > > this screwup happens only on remote machines not
> on
> > > ma own 
> > > not on the server u know ......
> > > 
> > > what else can i do to clear the cache without
> having
> > > to tell ma
> > > clients to refresh the page each time 
> > > (they cant even turn the compu on properly
> ...... :)
> > > )
> > > 
> > > will sumbdy plz tell me .....
> > > as im pretty lost in the cache clearing thinggy
> > > .....
> > > 
> > > 
> > > thnx a mill guyz
> > > 
> > > toby
> > > 
> > > 
> > > 
> > >
> >
>
________________________________________________________________________
> > > Want to chat instantly with your online friends?
> 
> > > Get the FREE Yahoo!
> > > Messenger http://mail.messenger.yahoo.co.uk
> > > 
> > > -- 
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit:
> http://www.php.net/unsub.php
> > > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> > http://sitebuilder.yahoo.com
> > 
> > -- 
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit:
> http://www.php.net/unsub.php
> >  
> 
>
________________________________________________________________________
> Want to chat instantly with your online friends? 
> Get the FREE Yahoo!
> Messenger http://mail.messenger.yahoo.co.uk
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux