Session ID of current WebUI session?
Is there a way to retrieve a session ID of the current user session within the WebUI framework code?
What I have found so far is class CL_CRM_UI_SESSION_MANAGER method GET_SID. However that doesn't seem to generate anything useful for my case, as the generated ID is composed out of user name and IP address and thus doesn't really identify a session.
Is there another way to get a session ID? Is there another approach that would tell my coding that it's running in a new session? What I want to achieve in the end is run a specific part of code only once per user and session.