| Question : | I keep getting "Data Missing" when I click the "back" button in my browser. How can I stop this? | |
| | Answer : | This is due to the fact that you have posted data to a web page, so it's considered to be dynamic and therefore should not be cached by the browser. There are several kludges, but no real fixes to this:
- Try making the page to open in a new window using target="_blank". The back button will be greyed out as the new window won't have a history; to go "back", simply close the window.
- Use the GET method for your forms instead of POST. Then the information is kept in the url and there's no 'data missing'.
- Put a "back" button that would repost the data to the previous page. If users complain, just tell them to use the "back" button you have instead of the browser's back button.
| | |