> I have a PHP page with a form that submits to another PHP processing
page.
> On completion of the PHP actions on the processing page, I have echoed
> into
> the page the javascript action of 'location.href=...' and the location
is
> redirected to the PHP form page that starting the process. Both pages
take
> data from an SQL server. The problem I'm having is that the the
javascript
> always grabs the cached page. I need a newly refreshed page to return
with
> updated data from the SQL server. Any suggestions?

You may be able to use the header() function to send headers telling the
browser not to cache the page. Take a look at the header() manual page
and there is an example (6th gray box).

www.php.net/header

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



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

Reply via email to