Forum Discussion
Karel_Kohout_51
Nimbostratus
Nov 23, 2006Persistence for users with and without cookies
Hello,
we have run into an interesting problem and I wonder if anyone of you alredy solved it. The situation is as follows.
We have several backend servers loadbalanced by BigIP, t...
Karel_Kohout_51
Nimbostratus
Nov 24, 2006In case of any of the viewers of this forum needs it, here is the iRule that solves my problem. However the application behaves slightly different than originally described, so it does not work for us.
rule jsessionid_persist {
when HTTP_REQUEST {
set jsess_id [findstr [HTTP::uri] "JSESSIONID=" 11]
if { ( $jsess_id eq "" ) and ( [HTTP::cookie exists JSESSIONID] ) } {
set jsess_id [HTTP::cookie JSESSIONID]
}
if { $jsess_id ne "" } {
persist uie $jsess_id
}
}
when HTTP_RESPONSE {
set jsess_id [HTTP::cookie JSESSIONID]
if { $jsess_id ne "" } {
persist add uie $jsess_id
}
}
}
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
