SessionParameters.Clear
Syntax:
Parameters:
<ClearParameters> (optional)
If the parameter is omitted or has the Undefined value, all parameters of the session are reset to "Undefined".
If the parameter has the Array type value, array elements should be strings each of which should contain a session parameter name. All listed session parameters will be set to "Undefined".
Default value: Undefined.
Description:
If the <Clear parameters> parameter is omitted or has a value Undefined, all the session parameters described in the configuration will be set to "Undefined". Otherwise only the session parameters listed in the <Clear parameters> parameter will be set to "Undefined". To execute this method, the current infobase user does not need the permissions for the session parameters that should be set to "Undefined".
Availability:
Example:
SessionParameters.Clear(); CleanableParameters = New Array; CleanableParameters.Add("SessionParameter1"); SessionParameters.Clear(CleanableParameters); |