Forum Discussion
Wechat persistence irules!!
This is an http post packet(WeChat source code), Use {Fromusername} for session hold(persistence).
a lot of thanks
9 Replies
- lizunjjg
Cirrus
This is an http post packet,(WeChat source code) Use {FromUserName} sessionhold(persistence)
- lizunjjg
Cirrus
This is an http post packet(WeChat source code), Use {Fromusername} for session hold(persistence).
- JG
Cumulonimbus
Is this what you are looking for:
https://devcentral.f5.com/questions/search-xml-for-string-and-send-to-specified-pool
?
- lizunjjg
Cirrus
qewqrwr
- lizunjjg
Cirrus
qwerq wer q
- lizunjjg
Cirrus
help me
- lizunjjg
Cirrus
help me
- lizunjjg
Cirrus
help me
- JG
Cumulonimbus
1) Local Traffic ›› Profiles : Services : XML : click on Create
to create an XML profile, and specify xpath with "FromUserName";
2) Attach the xml profile to the virtual server;
3) Attach the following irule to the virtual server:
when XML_CONTENT_BASED_ROUTING { for {set i 0} { $i < $XML_count } {incr i} { log local0. $XML_queries($i) log local0. $XML_values($i) if {($XML_queries($i) contains "FromUserName")} { persist uie $XML_values($i) 0 } } } when LB_SELECTED { log local0. "Pool member selected: [LB::server addr]" }(This is untested.)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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