This is an issue to do with IE cacheing the page too aggressively. Add this to local.inc in your extended session class. Someone contributed this to the list sometime ago, I'm sorry I don't have their name to give them credit so I'll just say Thanks! and pass it along myself. BTW this is great for development; you may want to switch back to the default cache handling once the site is online. var $allowcache = "iehack"; function put_headers() { # Allowing a limited amount of caching, as suggested by # Padraic Renaghan on [EMAIL PROTECTED] # # Note that in HTTP/1.1 the Cache-Control headers override the Expires # headers and HTTP/1.0 ignores headers it does not recognize (e.g, # Cache-Control). Mulitple Cache-Control directives are split into # mulitple headers to better support MSIE 4.x. # # Added pre- and post-check for MSIE 5.x as suggested by R.C.Winters, # see http://msdn.microsoft.com/workshop/author/perf/perftips.asp#Use%20Cache-Cont rol%20Extensions # for details switch ($this->allowcache) { case "passive": $mod_gmt = gmdate("D, d M Y H:i:s", getlastmod()) . " GMT"; header("Last-Modified: " . $mod_gmt); # possibly ie5 needs the pre-check line. This needs testing. header("Cache-Control: post-check=0, pre-check=0"); break; case "public": $exp_gmt = gmdate("D, d M Y H:i:s", time() + $this->allowcache_expire * 60) . " GMT"; $mod_gmt = gmdate("D, d M Y H:i:s", getlastmod()) . " GMT"; header("Expires: " . $exp_gmt); header("Last-Modified: " . $mod_gmt); header("Cache-Control: public"); header("Cache-Control: max-age=" . $this->allowcache_expire * 60); break; case "private": $mod_gmt = gmdate("D, d M Y H:i:s", getlastmod()) . " GMT"; header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . $mod_gmt); header("Cache-Control: private"); header("Cache-Control: max-age=" . $this->allowcache_expire * 60); header("Cache-Control: pre-check=" . $this->allowcache_expire * 60); break; case "iehack": header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-cache"); header("Cache-Control: post-check=0,pre-check=0"); header("Cache-Control: max-age=0"); header("Pragma: no-cache"); break; default: header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-cache"); header("Cache-Control: post-check=0, pre-check=0"); header("Pragma: no-cache"); break; } Matt Friedman Spry New Media http://www.sprynewmedia.com ----- Original Message ----- From: "Paul Cusack" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001 10:33 AM Subject: [phplib] Sessions in windows > I have just installed phplib on my Windows ME and have used the test files > for session management and everything appears to be working fine except the > Per Session Data counter does not increase when I reload the page. > > The strange thing is though that if I edit the php source code and then > reload the page the counter increase to the correct number. > > Any ideas? > > PC > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]