Forum Discussion
Tokyo_Jihen_931
Nimbostratus
Dec 03, 2010iRule for URL persistence
Hello all,
I am a newbie of iRules programming. My system is BIG-IP 9.1.2. I am trying to implement persistence using a string that appear in URL.
For example.
http:...
yxshybj_101037
Nimbostratus
Jan 10, 2012I have a environment , can't use insert client ip in the http head , but the device(is not the end client ) in front of f5 coult insert the client ip in the url in the follow format ,:
http://test.big-ip.com/ebv/rbv&clientIP=192.168.1.5?svk
Does the follow irules "
when HTTP_REQUEST {
set session_id [getfield [HTTP::uri] "/" 11]
if {$session_id ne ""} {
persist uie $session_id 1800
}
}
"
work ?
Does anyone have similar environment with me? Or can provide me any iRule sample to do this?
thanks !
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