To retain values from ajax on page refresh

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • waqasahmed996
    New Member
    • Jun 2008
    • 160

    To retain values from ajax on page refresh

    Hi

    i want to ask one simple question. As using ajax we get values without complete page refresh/load.

    I want to ask that how can we retain/keep values getting from ajax in page after page refresh also.

    is there any such way.

    please let me know if i am not clear in my question.
  • Ammu
    New Member
    • Aug 2011
    • 78

    #2
    Actually your question is not clear... Can you explain the functionality ?
    --Ammu

    Comment

    • waqasahmed996
      New Member
      • Jun 2008
      • 160

      #3
      ok first of all thanks Ammu
      Actually my question is simple to keep the values of ajax even on page refresh from browser.

      for example on using of phpmyadmin we select db and tables. but when we refresh page from browser than we back to main page. i do not want this thing. i want to keep values in page like before refresh of page. Thanks

      Comment

      • Ammu
        New Member
        • Aug 2011
        • 78

        #4
        First you load the page using ajax function. then store that value in session variable.after refresh , page will work using this session variable.
        simply you have to load page by using ajax and using session after page refresh.

        Comment

        • waqasahmed996
          New Member
          • Jun 2008
          • 160

          #5
          thanks ammu. it looks to me also the only solution is to use session or cookies. But can we say at the end that there is no standard way to do this or using session or cookies is ok?

          Comment

          Working...