Hello,
I am getting some strange results within my scripts and in use of the back button. I have built a registration site, where users can select multiple events to register in, and the registration forms are queued, allowing the user to, one at a time, complete registration in all selected events.
When a user hits the Back Button, the script is written to redisplay the first event that has not been completed (in other words, it should keep showing the same event, as that is the last one that isn't completed). This works perfectly within internet explorer.
When testing in Firefox, the back button redisplays the previous version of the page, exactly as it was displayed. I have narrowed the problem down to the browser cache. I must disable caching so that the browser always makes a fresh call to the script. I have the code found below in my script, but still, Firefox doesn't work. Does anyone have any workarounds or ideas?
header( "Expires: Mon, 20 Dec 1998 01:00:00 GMT" );
header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
header( "Cache-Control: no-cache, must-revalidate" );
header( "Pragma: no-cache" );