0

OK, so I think its a simple question but since I am extremely new to ajax and really trying to figure it out I'm not sure how/where to really start with this.

What I want is a piece of code that reads a table and inserts new entries into a listbox on the user side. I dont want to have to "refresh" the page to get new entries into the listbox.

Essentially, the table will get updated by an app on one side and I want users to be able to view the updates as they occur.

Is this possible? if so, how?

Thanks,

Pete

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by ppetree
0

This isn't as easy as you might think. What you are describing here is requires an active HTTP connect between the client and server. You might want to look up info on streaming technologies. Some searchable terms include: Server Client Push, Comet, Long Polling, and HTTP Streaming. A good starting point is : http://ajaxpatterns.org/HTTP_Streaming.

0

This isn't as easy as you might think. What you are describing here is requires an active HTTP connect between the client and server. You might want to look up info on streaming technologies. Some searchable terms include: Server Client Push, Comet, Long Polling, and HTTP Streaming. A good starting point is : http://ajaxpatterns.org/HTTP_Streaming.

I was afraid of that... in the mean time I have implemented it as a iFrame with a meta refresh. The entire page doesn't refresh, just the iFrame...

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.