Forum Discussion
dimka___104021
Nimbostratus
May 21, 2008universal persistence is not persistent?
Hi,
I'm using custom universal persistency, which is assigned to VS. If in request specific string found in URL, it persists this request.
But strange thing is happens in persist...
dimka___104021
Nimbostratus
May 21, 2008here you go:
pers_vs12 persistency profile assigned to VS
profile persist pers_vs12 {
defaults from universal
mode universal
mirror enable
timeout 3600
rule pers_vs12
}
rule pers_vs12 {
when HTTP_RESPONSE {
if { [HTTP::header exists "jsessionid"] } {
set jsess_resp [findstr [HTTP::header "jsessionid"] "!" 1 "!"]
if { $jsess_resp != "" } {
persist add uie $jsess_resp
}
}
}
This is irule i use for persistency:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/app12" } {
set jsess [findstr [HTTP::uri] "!" 1 "?"]
if { $jsess != "" } {
HTTP::header insert X-WebLogic-Force-JVMID $jsess
persist universal $jsess
}
pool app12_dyn_be
}
}
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