#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    2
    Rep Power
    0

    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
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    48
    Rep Power
    3
    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.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    2
    Rep Power
    0
    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.

IMN logo majestic logo threadwatch logo seochat tools logo