Forum Discussion
hooleylist
Jul 25, 2012Cirrostratus
Hi Craig,
I think the HTTP::cookie command might be case sensitive. So you're checking if the jsessionid cookie is not null but then persisting on the JSESSIONID cookie value which might not exist or have a null value.
Can you try this instead?
if { [HTTP::cookie value "JSESSIONID"] ne "" and $add_persist } {
persist add uie [string tolower [HTTP::cookie "JSESSIONID"]] 1800
set add_persist 0
}
Also for L7 persistence or pool switching, you should use a OneConnect profile to ensure LTM performs per-request logic instead of connection based. As you're doing both this is particularly important.
https://devcentral.f5.com/Wiki/default.aspx/AdvDesignConfig/OneConnect.htm
Aaron