Input validation session_id

Input validation session_id

I'd like to make use of the session_id for input validation. Where do I pull the user's session ID from? I do not see it in either the scope or context when my analysis runs.