delVariable - Deletion of the variable in the room
XML request, sent by the client to the server
<protocol>
      <delVariable name="abc" [sid="2"]/>
</protocol>
                    
Attribute
Meaning
name
Name of the variable we want to close.
Note: The variable can only be closed by the same client that created it. If the client is logged off from the XML Socket Multiuser Server all the variables that were created, are closed. Other clients are informed about that using the XML function delVariable.
XML response of the server to the client
<protocol>
      <response action="delVariable" errorCode="0" [sid="2"]/>
</protocol> 
                    
errorCode
Error description
241
A variable with this name does not exist in the room.
242
You don't have the right to close this variable.
243
The message about cancellation of the variable could not be sent to all clients.
XML message of the server to other clients
<protocol>
      <received action="delVariable" name="abc"/>
</protocol>
                        
Attribute
Meaning
name
Name of the cancelled variable.