This is a discussion on I keep getting "Data Missing" when I click the "back" button in my browser. How can I within the HTML, CSS and Javascript Coding Techniques forums, part of the Web Development category; I keep getting "Data Missing" when I click the "back" button in my browser. How can ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I keep getting "Data Missing" when I click the "back" button in my browser. How can I stop this? |
|
#2
| |||
| |||
| hi, 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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Diffrence between a "assignment operator" and a "copy constructor" | Sabari | C and C++ Programming | 1 | 07-24-2007 04:00 AM |
| Write any small program that will compile in "C" but not in "C++" | Sabari | C and C++ Programming | 1 | 07-24-2007 03:48 AM |
| Why do I get "HTTP 500" error(or "(DLL)initialization routine failed")in my browser? | kingmaker | ASP and ASP.NET Programming | 1 | 07-20-2007 03:38 AM |
| Difference between a "assignment operator" and a "copy constructor"? | vigneshgets | C and C++ Programming | 2 | 07-12-2007 04:30 AM |
Our Partners |