Datasnap.DSSession.TDSTunnelService.InitializeSession
Delphi
function InitializeSession(Params: TStrings; RemoteIP: string = ''): TDSTunnelSession; overload;
function InitializeSession(Params: TStrings; ClientInfo: TDBXClientInfo): TDSTunnelSession; overload;
C++
TDSTunnelSession* __fastcall InitializeSession(System::Classes::TStrings* Params, System::UnicodeString RemoteIP = System::UnicodeString())/* overload */;
TDSTunnelSession* __fastcall InitializeSession(System::Classes::TStrings* Params, const Data::Dbxtransport::TDBXClientInfo &ClientInfo)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DSSession.pas Datasnap.DSSession.hpp |
Datasnap.DSSession | TDSTunnelService |
Description
Initializes the session pointed to by the specified parameter value for dss.
The InitializeSession method initializes the session pointed to by the specified parameter value for dss.
Note: If the value of the dss parameter is 0, then a new session will be created and the value for dss in the given Params will be replaced.