Forum Discussion
steve_111974
Nimbostratus
Mar 27, 2009JESSIONID timer
Hi,
I just took over management of our LTM. There's an iRule for session persistence which i'm trying to figure out what the timer means.
Below is the irule:
when HTTP_RESPONSE {
if { [HTTP::cookie exists "JSESSIONID"] } {
persist add uie [HTTP::cookie "JSESSIONID"] 14400
sticky entry stays for 4hrs (14400sec)
log local0. ?Server cookie found with ID [HTTP::cookie "JSESSIONID"]?
}
}
when HTTP_REQUEST {
if { [HTTP::cookie exists "JSESSIONID"] } {
persist uie [HTTP::cookie "JSESSIONID"] 14400
sticky entry stays for 4hrs (14400sec)
log local0. ?Client cookie received from [HTTP::client_addr] with ID [HTTP::cookie "JSESSIONID"]?
}
}
The question I have is the "14400". This is a timer setting expressed in seconds (4hrs). What does this do? Is it an absolute timer which means that the session with be "stuck" to the node for this duration?
- L4L7_53191
Nimbostratus
That timer defines how long a persistence entry will last in the persistence table, and your description looks dead on the money!
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