Forum Discussion
rdc_gayu_110274
Nimbostratus
Jul 06, 2005Unable to retrieve data with session command over different UDP connections
Hi,
I need to maintain some data over different UDP connections.
I have two UDP virtual servers, namely VS1 and VS2.
The iRules associated with VS1 are:
when CLIENT_ACCE...
david_wang_2073
Jul 17, 2005Historic F5 Account
perhaps you have to use [list $sss any] in "session add uie" for accross virtual, just like below
if { [HTTP::cookie exists "JSESSIONID"] and $add_persist } {
log local0. " response set cookie [HTTP::cookie "JSESSIONID"]"
set sss [HTTP::cookie "JSESSIONID"]
set lll [list $sss any]
session add uie $lll [format "%s" [IP::remote_addr] ]
log local0. "response $sss [format "%s" [IP::remote_addr] ]"
set add_persist 0
}
}
when HTTP_REQUEST {
if { [HTTP::cookie exists "JSESSIONID"] } {
set jsess [HTTP::cookie "JSESSIONID"]
}
else {
set jsess [findstr [HTTP::uri] "jsessionid" 11 32]
}
if { $jsess != "" } {
set lll [list $jsess any]
log local0. "request include $jsess"
set ppp [session lookup uie $lll]
log local0. "request include $jsess --pool$ppp---"
pool pool_[session lookup uie $lll]
}
else {
log local0. "without jession"
pool web_8080
}
}
}
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