How to persist data in static HTML Pages
Posted on 2010-08-24
Experts, please help:
So, I have two static html pages: A and B
A has two text boxes and a link at the bottom to HTML page B. And B also has two text boxes and a link to HTML page A. When user fill in the text boxes on page A and clicks on the link to B, he is directed to page B and upon clicking on the link to page A he returns to page A but the data should not be gone ( I just described a classic example of Persistent data). So here is the piece of code that I have for page A.
<meta NAME="save" CONTENT="snapshot">
<title>TPP Data Entry System</title>
<form name="form1" CLASS="saveSnapshot" ID="oPersistForm">
So, this code seems to be not working...can someone tell me what is wrong? I am also OK to do it differently as long as there is no need for a server to maintain the form data...not even IIS. Thank you all!