[F8 and php] Chat system help

I have read the php5 xml sockets with flash8 that creates a basic chat system. my question is how can i add or attach additional info to bind a resource id # to a specific id(person/username). i have been playing around with it and it seems to me that the “resource id#” is automatically assigned to a “client” upon connection then stored in an array. I want to attach additional info to it so that i can create a filter that will send socket data only to specific ID’s. many thanks! :slight_smile: