Table of Contents

TTMSMCPCustomServer.RemoveSessionValue Method

Discards a string value stored against the session whose request is being handled on the calling thread. Does nothing outside a request or on a transport without sessions.

API unit family: TMS.MCP.Server Declaring type: TTMSMCPCustomServer

Overloads

Overload 1

Discards a string value stored against the session whose request is being handled on the calling thread. Does nothing outside a request or on a transport without sessions.

procedure RemoveSessionValue(const AKey: string); overload;

Parameters

Name Description
AKey Key to remove.

Overload 2

Discards a string value stored against a specific session. Does nothing when the identifier is empty or unknown.

procedure RemoveSessionValue(const ASessionId, AKey: string); overload;

Parameters

Name Description
ASessionId Identifier of the session to remove from.
AKey Key to remove.