Is the length and format of the $currentSession/sessionId string always the same?

0
Title. In my experience, the $currentSession/sessionId string is always 36 characters long. Is that indeed the case, or is the length of the string variable? Also, is the format always the same (8,4,4,4,12 characters all separated by dashes) or is there variance in that as well? Use case: I want to add the $currentSession/sessionId in REST requests (used as trace ID), but some services I need only accept strings of a certain length (32 in this case) in that particular field, so I want to remove all (4) the dashes so the resulting string is the correct length.
asked
1 answers
1

I believe they are standard UUID / GUIDs, so always in that format.

https://en.wikipedia.org/wiki/Universally_unique_identifier

You should be safe to remove the ‘-’ characters as they are just used for spacing between the parts. 

Hope this helps.

answered