Hi we have developed a web app. In the 1st html page based on the user interaction we are inserting some html into the page using javascript. when user moves to the 2nd page everything is fine. Now if user presses the back button then 1st html is displayed without the content that has been added to it using javascript. this is the biggest challenege now. if the users presses the back button it is not a problem but the content that we added is very important and it is missing in the 1st html when user comes back to it using back button. How to solve this problem?

Note: i am using post method to submit the data. when user presses the back or forward button the request is not comming to the server so unable to handle from the server side code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.