It sounds like what we call "getting booted" out of chat
sometimes it's the system - or sometimes it's the settings or the cache in your browser and it will cause you to get booted out and then you get back in chat and poof your get tossed out again..
a endless cycle it seems...
I had it happen to me a few times.
Do you know how to clear the cache in your browser?
here's a website that explains it and tells you how to do it for various browsers -
http://www.bnl.gov/itd/webapps/browserCache.asp