How/Why does the session id value matter?
The earlier formatted SessionId is sent to another dependent application where it is parsed.
Now interacting application sometimes able to parse and sometimes unable to parse the session id in new format.
I'm running app in standalone mode, is there any way to create session id in which is in older format?
By any chance clustering is leading to this, please suggest...
As per the above link, tried to add system property:
but this didn't worked out, still +, - characters are still getting generated.
Is there any other option to suppress these special characters?
Post the relevant contents of the file which you changed and the command you use to start the server. Also, post the exact session id that gets generated after this change.
Moved to JBossWeb forum
Am starting the server with the following option ( in standalone.xml)
<property name="-Dorg.apache.catalina.session.ManagerBase.SESSION_ID_ALPHABET" value="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567892"/>
Before the change session is : Batnv6OgdJf8ipauEMOmxTmr
After above change session id is : vq9gVdMY4gBmPLwrO+q4TSap
Somewhere i read, if <standalone/> tag is present in web.xml, it generates clustered session id, even after removing this tag there no differnce in the way session getting generated...
Is there any way to disable the clustering in JBoss EAP 6.0.1? My ultimate aim is to achive the Session id of the format, 32 character capital alphanumeric session id.
FYI. am running my app is standalone mode and using standalone.xml config file...
1 of 1 people found this helpful
<property name="-Dorg.apache.catalina.session.ManagerBase.SESSION_ID_ALPHABET" no
<property name="org.apache.catalina.session.ManagerBase.SESSION_ID_ALPHABET" !!!
Thanks for your help....The above solution did worked... Am able to surpress special characters in the session id...
JBoss EAP 5.1.2 generates a session id of 32 characters, JBoss EAP 6.0.1 is generating a 25 character session id, is there a way to make JBoss EAP 6.0.1 to generate 32 character session id, please let me know.
in fact that is not possible you can add a JVMRoute(InstanceID) on the node to have an additional fixed value.