Is there a way to fetch the session ID of the user making the API action, I wanted to log it in the logs so as to have a trace of all actions performed by the user in that particular session.
The $_SESSION only provides securityId and session_authorized, and not the session ID sess:*
Hi @Hyperbytes,
No, it wouldn’t, We wouldn’t be able to distinguish which user performed the actions from the various machines he was logged in with at any given moment.
Imagine a situation where a session was hijacked, we would need a track of events that were performed by the use of that user id using that specific session, basically to have a trace of events session wise