Storing and retieving data from local storage in html5
I have applied page navigation in my application. Suppose i have 5 pages and after submitting value it switch to another page but local storage is taking last submitted value. But I want if I am on page 3 and I am switching to page 1, then it should show me values separately for each page where i visited and submitted the answer.How in this way can be done? please give your suggestions and tutorials reference.Its urgent!
Last edited by Naina; May 8th, 2012 at 03:06 AM.
Reason: forgot to include html
Have you tried using sessions?
You can make use of sessions, to store values of each page and then retrieve each independently when required on page.
No I didn't use session. Here i am navigation from 1 point to another but the page is same. But in session if we close the page then the value will be lost r8?? that's y i didn't use it.