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

AJAX help - polling data repeatedly

P: 6
Hi....

I am developing a project using AJAX. It is something called as a virtual whiteboard. Virtual whiteboard is an application in which objects or text which are dragged and dropped on the virtual whiteboard are reflected on the whiteboard of all participating users. The information can be text, standard images like flowchart symbol, basic shapes, mathematical symbols and picture.

I am faced up with two issues in this. I want a method so that the server should send data(here the update of the coordinate positions of the various elements) to the various clients without the client requesting. All I could think of is a timeout functiion in the client side which will keep on checking the server for updates. Is it feasible? Is there an alternate method available?

Should I necessarily use XSLT to dynamically generate div id in the div html tags?

I would be very thank ful for your help. I am unable to proceed.
Kindly do help
Jan 24 '08 #1
Share this Question
Share on Google+
3 Replies


gits
Expert Mod 5K+
P: 5,333
hi ...

there is no other way as polling the data from the client ... you may use the setInterval() method for this purpose ...

kind regards
Jan 24 '08 #2

P: 6
hi ...

there is no other way as polling the data from the client ... you may use the setInterval() method for this purpose ...

kind regards
Thanks a lot for your help.
Jan 27 '08 #3

gits
Expert Mod 5K+
P: 5,333
no problem ... post back to the forum in case you have more questions :)

kind regards
Jan 27 '08 #4

Post your reply

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