Back to product page

SavePrivateData method


Saves private data to the server.

Syntax

  • Basic
object.SavePrivateData (Name, Value)
The SavePrivateData(object,Name,Value) syntax has these parts:
objectAn expression evaluating to an object of type wodXMPP
NameA String value. Name of the variable that will be stored.
ValueA String value. Value that will be stored.

Remarks

Use this method to store any information to the server, so it is available in future sessions by calling LoadPrivateData method. You must assign a Name to the data, and save it under specified Name. Any number of such variables can be stored, using different Name for each variable.

Platforms

Windows