Datasnap.DSSession.TDSSessionManager.TerminateSession
Delphi
procedure TerminateSession(const sessionId: string); overload;
C++
void __fastcall TerminateSession(const System::UnicodeString sessionId)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DSSession.pas Datasnap.DSSession.hpp |
Datasnap.DSSession | TDSSessionManager |
Description
Removes the session from the session container.
The TerminateSession method removes the session from the session container and invokes the session's TerminateSession method. The sessionId parameter specifies the unique session's name.
Note that no further session access will be possible after calling the TerminateSession method.