jsessionid format

I have a couple of java server applications in which I am logging the value of the session. In one, it is displaying in hex, but this is the value of the other:

MC5L2VnCgik88Xk-Z93E+Q**

Does anyone know what format that is in? Base-64 perhaps? This value was returned from request.getSession().getId()

Thanks,
Rob

It’s simply a unique identifier. It doesn’t have to have any particular format, or be constructed any particular way, as long as it’s unique. It is implementation dependent. It does look like it could be a slightly tweaked version of base64 with + and - instead of + and /, and * for a pad character instead of =.

(The choice of / for a character in base64 is a lousy choice in many contexts.)