SaveSession Method
Saves session state data.
Syntax
mqttcontrol.SaveSession
Remarks
This method saves session state data currently held by the control, returning it as a string that can later be used to restore it. If the SessionStateFile configuration setting is set, the control will also write the session state data to that file (creating and/or overwriting it, as necessary).
Refer to CleanSession and RestoreSession for more information.