Forum Discussion
David_L_
Nimbostratus
Sep 07, 2007SSL-Termination Persistence
I need to enable persistence for an SSL-terminated connection on a version 9.4.1 LTM.
The Configuration Guide and these forums indicate that SSL Persistence is not supported for SSL-terminated co...
David_L_
Nimbostratus
Sep 07, 2007OK - To update this in case anyone is listening - I've copied/written/modified a rule that meets this requirement. There's one part I can't get to work correctly though - any thoughts would be appreciated.
The part that doesn't work is the "persist delete" statement. The goal is to delete the persistence record if the user logs out. The "if" statement is being evaluated properly, but the "persist delete" statement does not seem to be doing anything. The record remains until its 1800 second timeout.
when CLIENT_ACCEPTED {
set add_persist 1
}
when HTTP_RESPONSE {
if { [HTTP::cookie exists "JSESSIONID"] and $add_persist } {
persist add uie [HTTP::cookie "JSESSIONID"] 1800
set add_persist 0
}
}
when HTTP_REQUEST {
if { [HTTP::cookie exists "JSESSIONID"] } {
if { [HTTP::uri] ends_with "logout.do"} {
persist delete uie [HTTP::cookie "JSESSIONID"]}
else {
persist uie [HTTP::cookie "JSESSIONID"] 1800
}
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects