MarcoP
Jul 20, 2022Nimbostratus
iRule with JSESSIONID including the server id with jvmRoute
Dears,
unfortunately I did not find a fitting post to my problem:
We have two or more servers they creating a JSESSIONID where the id of the server is added on the end like so:
7B0DE3926CF23C27DFF9C80BE604B009.serverID0
5C38A6262816E6E3A6BBB0B3ABB42D3A.serverID1
(we are using the -DjvmRoute=... on the tomcat)
Is it possible, that every JSESSIONID with the ending serverID0 is always routing to server 0 and serverID1 to server 1?
The rootcause is, that if the routing switches for a user, they logged in 3 days before, they has to loggin again, although there is a valid security context on tomcat available on the "right" server...