Jump to content

Chat with AJAX


bennyboywonder

Recommended Posts

I am currently developing an AJAX website. Was wondering if I had an ajax call that references itself I could presumably have a live updated page which I could therefore use for chat/im parts of my site. Was wondering how close together in milliseconds is reasonable to have the requests. how will it impact system resources if the page is doing httprequests every 20 milliseconds or something. Also how would this impact on bandwidth... presumably I could do a very simple page which just tells if there is an update, and then only actually get the data if there is one or something like that?

Link to comment
https://forums.phpfreaks.com/topic/40267-chat-with-ajax/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.