I am developing an online shop and have hit a major hurdle. Although I have got "back buttons" on my pages, and buttons which guide the user to where they should go, I still have the issue of users ignoring these buttons and simply pressing back in their browsers. I have tried various things such as sending :
header("Cache-Control: max-age=" . $this->allowcache_expire * 60);
headers to prevent the problem, but nothing works as a valid solution. The pages are all coded in PHP (although this is kind of irrelevant as it is the HTML output that poses my problems). Also, the pages dont use "input type=submit" buttons - rather "input type=image".
I am fully aware that I cannot disable the browsers back button, but I know there is a solution to my problem. For example, the british online bank (Natwest.com) uses a combination of "post" and "gets" all on encrypted (ssl) pages, yet it works fine when I press the browser back button. All I want to do is have it so my pages do not show the "Warning web page has expired" warning, yet redraw correctly when back buttons are pressed.
Any advice will be appreciated.