My guess is you send data to the window ID which matches the JID ID. So you look for windows which are already open and if they are send data and if not open and make a new window. So you need to make a location or a manager which allows you to search for open windows and a way to tell if at the end of the loop if the marker is still -1 create a new window with the login ID. If you get it working post back the code. Thanks Dan