The getCurrentSessionId() function

Returns the current session ID value.

Description

The function has the following syntax:
extern "C" int getCurrentSessionId();

Returns

A session ID for the current session.