Jump to content

Ajax Chat Room App


chibineku
 Share

Recommended Posts

I made a very simple AJAX chat app, just for fun, and it relies on recursive setTimeouts to call the reload function. Obviously this is inefficient and is liable to have my hosting company ban me, so I was wondering if there is a more efficient way of detecting new messages and pushing them without having to just keep checking and make ajax calls or otherwise checking the database?

Link to comment
Share on other sites

Ah. Okie dokies. I thought as much but thought it was worth checking.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...