Forum Discussion
zafer
Apr 26, 2008Nimbostratus
uie persistence
Hello
if the client has cookie and if client changes dynamicly ip address, i want persist this client
and if the client does not accept persistence or does not have cookie i want persis...
zafer
May 12, 2008Nimbostratus
this irule solved my problem,
i want ask about timeout? what will be timeout for persistency records?
and when cliend hits the uri with same jsessionid the age starts again from "0" ?
regards
zafer
when CLIENT_ACCEPTED {
set add_persist 1
}
when HTTP_RESPONSE {
if { [HTTP::cookie exists "JSESSIONID"] and $add_persist } {
persist add uie [HTTP::cookie "JSESSIONID"]
set add_persist 0
}
}
when HTTP_REQUEST {
if { [HTTP::cookie exists "JSESSIONID"] } {
persist uie [HTTP::cookie "JSESSIONID"]
} else {
set jsess [findstr [HTTP::uri] "jsessionid" 11 ";"]
if { $jsess != "" } {
persist uie $jsess
}
}
}
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