Hi!

I used to have this problem until I started using in all of my scripts
the following:

<?php
    $t = time("U");  // this is the time in seconds from 1/1/1970
    $url = "whateveryouwant.php?t=$t";

    // place here something like:
    printf("<a href='%s'>Click here to go to what ever</a>", $url);
>?

Whith this, the cache of your client will 'think' it is a different page
and force it to load it.

Cesar


Jean-Christian IMbeault wrote:
> Aljosa Mohorovic wrote:
> 
>>i have problems with client side cache, how can i disable it?
>>i use this, but it still caches pages.
> 
> 
> What are your problems exactly and what is the client?
> 
> Remember that the client might not be honouring your caching headers and
> if that is the case there is nothing you can do about it. i.e. it may be
> an ill-behaving client which isn't following standards.
> 
> Jean-Christian Imbeault
> 
> 



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

Reply via email to