Forum OpenACS Development: Re: ajax based chat as xowiki page

Collapse
Posted by Gustaf Neumann on
there is a new version of my ajax based chat package checked in cvs HEAD, most of the mentioned shortcomings are removed. Every chat client has a session-id now, a single user logging in from two browsers or two browser frames gets now a different id, so the user can to himself - not, that this is important, but should work anyhow. the chat works now with IE as well.

if you edit the page en:ajax-chat, you see that its contents are reduced now to

	proc content {} {
	  ::xowiki::Chat login -chat_id 22
	}
By removing the chat_id, per default the package_id is used as chat_id (this means one chatroom per package instance). If it is left as it is, no matter from which instance of xowiki this is coming, the chat connects to a chatroom with chat_id 22.