By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,967 Members | 1,690 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,967 IT Pros & Developers. It's quick & easy.

To retain values from ajax on page refresh

100+
P: 160
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.
Mar 18 '12 #1
Share this Question
Share on Google+
4 Replies


P: 78
Actually your question is not clear... Can you explain the functionality ?
--Ammu
Mar 20 '12 #2

100+
P: 160
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
Mar 21 '12 #3

P: 78
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.
Mar 27 '12 #4

100+
P: 160
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?
Mar 28 '12 #5

Post your reply

Sign in to post your reply or Sign up for a free account.