Thanks for checking it out Michael!

Michael Jouravlev wrote:
* State is not saved on server, reload clears all messages.

I'm not sure what you mean, but if you mean hitting reload when in a room, then it *should* clear all the messages, and in fact does in any other chat client I've seen (the "history" you see starts from the point you enter the room). Is that what your talking about, or something else?

* Only number of guests should be refreshed, you are rewriting the
whole room+guests HTML piece. The page is flickering.

Oh, you mean in the lobby? Yeah, that's true... but, load it in IE and you'll notice no flickering... it's a known problem with FF (appently is fixed in 1.5 but I haven't upgraded yet)... until this morning the user list in the room did the same thing, but I worked around that. I might be able to do the same thing in the lobby. I'll add it to my list.

* Err... No other finds for now ;-)

Ah, then you missed two... the stylesheet isn't being applied on the welcome page, but that seems to be some peculiarity with Resin because it's fine in Tomcat, and seconddly the users are not being cleared out of rooms! If you go in the demo site now, you'll see a bunch of users that aren't actually present. Again, it's a Resin issue (apparently once the SessionListener fires you no longer have access to session as you do in any other container I'm aware of), but I need to do something a little more robust regardless of that anyway. I'll tackle that tonight.

Your code and comments make Ajax looking really simple.

It is! :) Just don't tell all the people that seem to think it's some miraculous new creation!

Michael.

Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to