954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Save real-time data in client PC

Hi all

I am a newbie to Ajax and Javasript. Please help me out...

I am using Ajax and Javascript to show real-time data on the web page. On my web page, a 4-digit number is displayed in a text box and this number updates every 10 millisecond automatically to display real-time data (show 100 numbers per second).

What I would like to do is to save the lastest 10 second data in the local PC (client PC) when client clicks a button on the page. Is that possbile with Javascript and Ajax? Or is there any other ways to sort it out?

Any suggestions I would appreciate it .

Many thanks

Junian
Newbie Poster
2 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
 

If it isn't much data, using cookies would do the trick.
However, if it's more, just stop the auto-refresh.
What are you trying to accomplish?
You also can look into a flash-type datastore if you need to store over 10kb of data.

codejoust
Junior Poster
180 posts since Jul 2009
Reputation Points: 18
Solved Threads: 21
 
If it isn't much data, using cookies would do the trick. However, if it's more, just stop the auto-refresh. What are you trying to accomplish? You also can look into a flash-type datastore if you need to store over 10kb of data.

Hi Codejoust

Thank you very much for your reply. I am not skilled in Javascript and Ajax. Could you please explain more details about your two ideas. What does it mean to stop the auto-refresh and how to create a flash-type datastore?

I would appreciate it if you could show me some similar codes regarding my questions.

Many thanks
Junian

Junian
Newbie Poster
2 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You