IZfePropertyKeysPreserveSessionOnDisconnect Property |
The key value for controlling the behavior when disconnecting from the session server.
Namespace:
MicroFocus.ZFE.Connector
Assembly:
MicroFocus.ZFE.Connector (in MicroFocus.ZFE.Connector.dll) Version: 1.3.422.0 (1.3.422.0)
Syntax string PreserveSessionOnDisconnect { get; }
ReadOnly Property PreserveSessionOnDisconnect As String
Get
Property Value
Type:
StringRemarks
By default calling IConnector.Disconnect will log the user out, destroying any sessions that were
created by the current user. Setting this property value to "True" will preserve the user's state
and any created sessions will be available upon reconnect. Note: Created sessions will still be
destroyed based on the session server's timeout value.
Examples
Visual Basic for Applications:
Dim props As ZfeProperties
Dim propKeys As ZfePropertyKeys
Set props = new ZfeProperties()
Set propKeys = new ZfePropertyKeys()
props.SetProperty propKeys.PreserveSessionOnDisconnect, "True"
C#:
IZfeProperties props = new ZfeProperties();
props.SetProperty(ZfePropertyKeys.PreserveSessionOnDisconnectKey, "True");
See Also