I migrated an application from Websphere to Weblogic.
In our Application code, there is a usage for the javax.servlet.http.HttpServletRequest's getRequestedSessionId() method. The team that developed this Application has used this session id as an identity of a user transaction and stored in its Audit database table.
In Websphere/J2EE1.4, this id has a reliable length of 24 characters. However, in Weblogic/JavaEE6, the length is variable. So far, I have seen it grow to 63. I am not permitted to increase the database column value. I can change the code, but its not advisable.
I could not see any documentation on why the length of the requestedSessionID is variable, what is the max length and why do you have special characters in the id.
Weblogic generated ID FGHbR1FMFL1XCJKvV6MQ1HYBvJvvywh59Y8n2tjPZ10p0C81tvzy!-485579981!1363101068366
Websphere generated ID Dbpr3DJUbCanpEXDpLxFZ7D
Your guidance will be very useful.
Try to change the application web-inf/weblogic.xml --> add session-descriptor element--> then add id-length element
Then you can set charter length. Default is 52 charters
Refer following link to more under:session-descriptor