472,341 Members | 2,228 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,341 software developers and data experts.

AJAX help - polling data repeatedly

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
3 1429
gits
5,390 Expert Mod 4TB
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
sdja
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
5,390 Expert Mod 4TB
no problem ... post back to the forum in case you have more questions :)

kind regards
Jan 27 '08 #4

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

Similar topics

17
by: petermichaux | last post by:
Hi, Is it possible for an AJAX request to be left open for multiple responses? This could avoid repetitive polling of the server. Thanks,...
3
by: petermichaux | last post by:
Hi, I am trying to put together the last major pieces of my project's puzzle. This is more website/client-side architecture than JavaScript...
1
by: kelvin.jones | last post by:
Hi guys, I have read several discussions on this group (and others) that talk about polling a server using ajax transactions and if it is possible...
31
by: Tony | last post by:
I just noticed that prototype.js is one of the files in the Ajax.NET distribution - I'm pretty concerned about this. Does anyone know if this is...
2
by: jason.m.ho | last post by:
Hello! I am trying to build an ajax chat system. Currently I have it so that when you chat, you upload your message to the database, and each...
8
by: jason.m.ho | last post by:
>From the common user perspective (like my grandma), why would they care if its a java applet or an ajax application? Say I want to make a chat...
1
kudos
by: kudos | last post by:
Hi! Im kind of new to ajax (but actually an old timer when it comes to javascript). I have the following question. I have a webapplication that will...
25
by: Piotr Nowak | last post by:
Hi, Say i have a server process which listens for some changes in database. When a change occurs i want to refresh my page in browser by...
8
by: FrobinRobin | last post by:
Hi, I intend to use Ajax for a kiosk application, it's primary usage is to retrieve live data from my DB, it's a fairly small amount of data (5...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.