Also Joeore,
When I experienced the cache problem in internet explorer - the value of the output stayed at "1"... you could simply wipe out the cache by clicking (Tools->Internet Options->Delete Files) to correct this from PHP I plugged in some header changes at the start of my test file:
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
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
I just learned of how to do this from another post!
These header changes caused the test script to work perfectly.
Because the header function alters the HTTP response headers the header functions must appear after the opening <?php delimiter before any output and there can be no white space or output before the opening <?php delimiter. I also made an edit to my last response on how to enable write permissions on Windows XP.. I left out a step!
: )
Rich
:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::