Link to home
Start Free TrialLog in
Avatar of RIOSmx
RIOSmx

asked on

simple chat

I developd a simple chat, browser relaod every X secconds and dsiplays messages saved on a database.

I have problm with some pcs/browsers sometime the page cant reloan and then chat is terminated, so I wonder if there is a better way to reaload and check for new messages, I see messenger.providesupport.com web chat uses somethings else, anyone has a recomendation here?

Avatar of wassa_r
wassa_r
Flag of Australia image

The simplest way to do it is the way you did it. It shouldn't terminate the chat if you can't reach the server though, try building in some error checks so that it doesn't die if anything fails ( try / catch ).

You could also try something like "Comit", but that's a lot harder to use.
Avatar of RIOSmx
RIOSmx

ASKER


Thanks WASSA , well, youre right, chat keeps going . What I meant is that that particular browser/user get a not found error on the chat window, so, it look like its terminated , if he reloads the page chat goes on. I just wat to avoid that. Whats Comit ?
ASKER CERTIFIED SOLUTION
Avatar of wassa_r
wassa_r
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RIOSmx

ASKER



sure thing...  take a look

http://r1os-techsupport.com/soporteenlinea/bbchat_login.php

i would like to learn about how to the thepush instead of the refresh, any pointer?
Avatar of RIOSmx

ASKER


what browser did you use to access the chat ?

Ill take a look at comet tnx !