OZONE Asylum
Forums
DHTML/Javascript
ajax and javascript
This page's ID:
28507
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Well, on one hand, you do have to stick to the polling. But your webapp maybe doesn't need to answer right away. For example, it could find that it has nothing to say, sleep in one second stretches till it has something to say (or a maximum timeout has occured) and then say what ever it has to say. There are also systems that hold the communication channel open, so the server knows who it's talking to - but they're not strictly ajax and I believe need alternative http servers (or at the very least an apache plugin. Darn what was that stuff called again?) But then again, I believe an ajax app polling once a second is somehow innappropriate - what are you planning on doing?
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »