×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Save real-time data in client PC

Save real-time data in client PC

Save real-time data in client PC

(OP)
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
 

RE: Save real-time data in client PC

Did you try setting cookie?

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel.  Covey

RE: Save real-time data in client PC

(OP)
Hi Lyndon

Thank you for your reply. I can not get cookies of my website like normal website for some reasons (sorry, difficult to explain here).

Would it be possible to import to Excel or Word from web content/data?

Or there is another approach would be to write a new webpage by using JavaScript and store the latest several seconds data (couple hundreds of numbers) on this webpage. And then users can save this page manually. I am not good at Javascript, but I am thinking...for example, there is a variable X which carries a real-time data. If X is changed, put the value of X in Place1. When X is changed again, then put the new value in Place2, and so forth. Do you think if it will work out this way?  

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

Many thanks
Junian

 

RE: Save real-time data in client PC

If you're using Ajax to send back to the server just store on that database.

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel.  Covey

RE: Save real-time data in client PC

Did you solve this?  

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel.  Covey

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close