Can you use some kind of random url?

eg ?cachebuster=url encode the date and time here

its what i do to bust cache.

-----Original Message-----
From: Daniel Joyce [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 08, 2003 7:18 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Forcing page refresh with http headers?


Daniel Joyce wrote:
> I've used the HTTP Location, Expire, and Refresh headers to no effect. 
> What's the magic order to....
> 
> 1) Refer a browser to a new location
> 2) Ensure that the location is refreshed?
> 
> I want to avoid using <meta http-equiv> tags, as this complicates things 
>  in the system I am designing....
> 
> -Daniel
> 

A little more explanation. I'm wanting to seperate form from content and 
processing...

So page a.php has a form, that invokes b.php in it's action.

b.php redirects the browser to a new page to show that processing is 
occuring, then redirects back to a.php when done. ( a.php is a query and 
display front end, so you enter a query, and it should reload displaying 
the results ).

No matter what I use, whether http headers, or session vars to tell it 
to reload, when a.php is reloaded by the browser, it's somehow pulling 
it from cache, and not requesting the page again. If I tell the browser 
to refresh, then it displays the data.

I've tried cache control headers, etc, to get the browser to reload the 
page, and it doesn't work...

-Daniel


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



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

Reply via email to