Forum Discussion
Javier_E__Aguad
Nimbostratus
May 28, 2014Webcenter Cookie persistence
Hello,
I have some problems when implementing cookie persistence for an Oracle WebCenter pool . The problem is that when i add persistence using an irule, the value is not mantained and the persistence fails.
I have writed this irule to troubleshoot the problem. Please, any clue if is possible to enhance the solution? Or i have any mistake on the writed fields.
when HTTP_REQUEST priority 300 {
if { [HTTP::cookie "F5test"] ne "" } {
pool "p_evo_wl"
persist uie [HTTP::cookie "F5test"]
if {[HTTP::cookie "F5test"] starts_with "f5id_"}{
HTTP::cookie remove "F5test"
}
} else {
pool "p_evo_wl"
}
}
when HTTP_RESPONSE {
if { [HTTP::cookie "F5test"] eq "" }{
set rndumb "f5id_[expr { int(100000000 * rand()) }]"
HTTP::cookie insert name "F5test" value $rndumb"
persist add uie $rndumb 14400
} else {
persist add uie [HTTP::cookie "F5test"]
}
}
Many thanks in advance!
Javier
3 Replies
No RepliesBe the first to reply
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