<newSession>
Description
Checks the presence and parameters of the newSession
reaction.
caution
This tag is only compatible with the deprecated
newSession
tag and the $reactions.newSession
method.Attributes
message
— start message, optional attribute.
Child elements
data
— JSON object, optional element. The$session
data for the new session is, by default, equal to an empty object.
How to use
<newSession/>
<newSession message="new session"/>
<newSession message="new session">
<data>{ "myField": "myValue"}</data>
</newSession>