Forum Discussion
James_Quinby_46
Mar 17, 2009Historic F5 Account
I'll confess that I've not ever used the cookie hash. Not recently, anyway. The jsessionid iRule works just fine. Even though it was originally written for WebLogic, I know it works very well with other java app servers (like tomcat, for example).
There is a commented/annotated version of the same iRule here:
http://devcentral.f5.com/wiki/default.aspx/iRules/Weblogic_JSessionID_Persistence.html
If you leave the logging lines uncommented, you can test this out and see how it works. This version also includes a few "string tolower" statements to normalize all the strings to lowercase, in the off chance that the app throws "JSESSIONID" out there while it's also doing "jsessionid".