Datasnap.DSSession.TDSSession.GenerateSessionId

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

class function GenerateSessionId: string; static;

C++

static System::UnicodeString __fastcall GenerateSessionId();

Description

Generates a unique session ID.

The GenerateSessionId method generates a unique session ID. GenerateSessionId returns the session ID as a string.

No assumptions should be made about the ID structure or content other than uniqueness on the current process.

See Also