Porl123 Posted July 26, 2009 Share Posted July 26, 2009 I've got this chat box which I'm currently using meta refresh to reload the chat in the iframe every 10 seconds, but it's using up too much unnecessary traffic so I was wondering if there's a way to do it in ajax by reloading the page when a message appears Anyone know any links which can help me with this? Thanks in advance Quote Link to comment Share on other sites More sharing options...
cappo Posted July 28, 2009 Share Posted July 28, 2009 I think loading new information via AJAX would not save you much traffic, as your AJAX script would have to check and load new data every 10 seconds, too. It only would not refresh the whole page but just grab some of the data. If you really want to refresh only when new data is there, I would go for Flash or Java based solutions. However if you want a link to a good chat using AJAX check http://www.phpfreechat.net Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.