The question is rather of academic nature…
I’ve got the following architecture: Apache server in front of Jboss AS workers using mod_jk to talk with each other.
What algorithm is used to generate the JSESSIONID or what is it based on? It seem to be similar to output of hash algorithm of some kind (md5 perhaps)?
The question is rather of academic nature… I’ve got the following architecture: Apache server
Share
Here is the code snippet used to generate sessionId for tomcat. I pulled it from Tomcat 5.5.35 Source code. You can find the source code here. The sessionId seems to be generated by ManagerBase class located here. I am adding the code snippet from ManagerBase here for convenience.
Hope this helps.
Good luck!