Wednesday 03 November 2004 1:59:55 am
Which browser do you use? Several browsers have too aggressive caching policies and are caching content even when they're not supposed to. No real solution but at least worth trying is to add the following lines to the index.php, somewhere before ob_end_flush(); :
header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0"); header("Pragma: no-cache"); You could also try to set an expiry date which lies in the past, but I had no big success with this.
Testing showed the following:
IE 6: doing fine
Mozilla Browsers: login, logout, login, logout <- the last logout won't work Opera: You have to use F5 to reload the page. You could also try to use a different siteaccess for anonymous and registered users, if you don't mind the caching (which would be critical for eg. a shopping basket). I would be very pleased to see a final solution as this is something bugging me a lot. Btw, I disabled the cache of my Firefox 1.0PR to work properly and believe me it sucks. ;)
|