cancel
Showing results for 
Search instead for 
Did you mean: 

Session ID of current WebUI session?

Former Member
0 Kudos

Hello Experts,

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

BGarcia
Active Contributor
0 Kudos

Hi Manuel,

Can you try querying the following static variable:

CL_HTTP_SERVER_NET=>IF_HTTP_SERVER~SESSION_ID

Kind regards,

Garcia