SetPrivateData - method of object User
Save the assistant value with set identifier and bound with specific logged user.
SetPrivateData(sId As String, vValue As Variant)
oUser.SetPrivateData "time", Now
| sId||(String) Text identifier of the value. There can be multiple saved values - the text identifier is used in order to distinguish them.|
|vValue||(Variant) Saved value.|
The values is bound with specific logged local or network user. I.e. if two users save the values with the same identifier, then the values will not be overwritten, because the variables are located in two separate logged users. If two users log in into a Promotic
application via Web using the same login and password, the system will consider them as two separate users. The assistant values can be used by the Web application for example for passing the values between panels, thus replacing the global variables in a local application in a particular way.
The assistant values will be stored during the period the user is logged into the server (session). After the local user logged out or the network user expired the logged user object is released, together with the assistant values stored in it.