Setup - Apache 2, PHP5, Windows XP SP2, IE 6
I have an "Add_Client.php" page which stores its information in a "new client" session variable, when the page is submitted it POST's to itself and validates the entry. It then either submits to the database or displays an error message to the user. When it submits to the database it destroys the session variable and if the user navigates away from the add client page the session varaible is also destroyed so if you go back to that page it displays an error (as there is no "new client" session vabiable).
Im not sure if this is due to upgrading to XP SP2 but now if you press the back button im getting page cannot be displayed, before i was getting the "this page has expired..." message which was annoying but now it just goes to page cannot be displayed and if you refresh it still says page cannot be displyed. As far as i know I havnt changed any settings in php.ini to cause this to happen.
Ive tried changing the "session.cache_limiter" settings in php.ini but this either causes page cant be displayed or it shows cached data that i dont want it to (ie the "new client" session has been destroyed but its still showing data). I have reinstalled PHP5 with the latest version and tried using both the dist and recommended php.ini files but the same happens. I dont use any headers in my php pages either that could be affecting caching.
It is doing this with every page that uses POST, i dont want to change this to GET due to the password on the login page and i use quite a few hidden variables for authentication purposes. Ive been on several websites that use POST and all of them work fine so this cant be an IE problem. I dont think its a problem with my code either as it was working fine a few weeks ago (before XP SP2 - but surely that cant cause this can it?).
Any ideas?