A look at some randomly generated JSession Weblogic ids from my own application
BrYx4hyPZ4VSP9Wo4eU0OrqmhXMLFONbRHnpLFwRKZ9MSaf6wvYj!-314662473
and
BrYiFED29itaC4EBpWYM8RKVQQauHkvnTsA2OAKUPZXVc9oUD5fB!-784323496.
Now, if you notice a portion of the session id after the first! 314662473 and 784323496 .
This number is the unique identifier that Weblogic provides to the running JVM, that is, the running Weblogic server.
If there are multiple servers in the application, Weblogic knows how to redirect your session to the correct server using this 9-digit JVM number, which is part of the session ID.
Each time you restart the weblogic server, it will generate a new JVM ID and use it as long as this web server is running. Thus, any calls to this server will have the same identifier at the end of the session identifier.
Session ID Format :
JSESSIONID = SESSION_ID! PRIMARY_JVMID_HASH! SECONDARY_JVM_HASH! CREATION_TIME
So, if the primary file is not available, it will try to switch to the secondary one, and if you enable session replication, then the session data can be restored. If you use only one server on the local computer, then the format is simple
JSESSIONID = SESSION_ID! PRIMARY_JVMID_HASH! CREATION_TIME
in some cases it does not appear, I saw that usually the browser depends on whether sessionid is displayed in the address bar or not
JoseK
source share