Datasnap.DSSession.TDSSessionManager.TerminateSession

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DSSession.pas
Datasnap.DSSession.hpp
Unit: Datasnap.DSSession
Parent: TDSSessionManager

Delphi

procedure TerminateSession(const sessionId: string); overload;

C++

void __fastcall TerminateSession(const System::UnicodeString sessionId)/* overload */;

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.

See Also