If you are allready using ajax, then don't request the page with get
paramater but using POST. The script you are calling must have headers
set to expire immidiatly ala
<?php
header('Cache-Control: max-age=0, must-revalidate');
?>
Bill Bolte wrote:
Aaah, so it's a caching issue then. Is that particular content using
PHP's caching mechanism or is it simply the browser's cache settings
mucking things up?
AJAX techniques run into the browser cache issue all the time (not that
your doing anything with AJAX here). One way to get around this is by
putting a random value in the querystring when calling a script by and
HTTP JavaScript call. Maybe by borrowing this concept and put a random
value in the querystring (that servers no purpose) will fool the browser
and load the new content.
-----Original Message-----
From: Alf Stockton [mailto:alf@xxxxxxxxxxxxxx]
Sent: Friday, May 04, 2007 10:02 AM
To: php windows
Subject: Re: Reload/refresh web page
Bill Bolte wrote:
Why isn't it being retrieved the first time the page is called?
It is but the page I need to reload is a dynamic page that may be used
as a menu to call another php that would be used to update a database
contents of which were displayed on the original page and on return to
the dynamic page I want this new data to be included.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php