Declaration
function SessionOpenEx(out aSession: TnxAbstractSession; const aUserName: string; const aPassword: string; aTimeout: TnxWord32; aClientVersion: Integer): TnxResult; virtual; abstract;
Description
This function opens creates a new session. It additionally passes the Client Version. This function can be used to support older clients on a newer version on the server.
Parameters
out aSession: TnxAbstractSession
the returned instance of a TnxAbstractSession descendant
const aUserName: string
the user name used to authenticate the session if security is enabled. A security monitor needs to be attached for this to work.
const aPassword: string
the password used to authenticate the session if security is enabled
aTimeout: TnxWord32
the timeout for the newly created session in msec
aClientVersion: Integer
the version of the NexusDB core on the client side