Forum Discussion
Chris_Schaerli_
Nimbostratus
Jun 18, 2007Tracking session in soap header?
I have been going though the board looking for something to help me with a session persistence issue. I have some transactions I need to set persistence on and I can’t use source IP or cookie. The o...
afraser10_2031
Nimbostratus
Jan 11, 2011All,
Any suggestions on creating an I-rule that addresses if the string I am searching for is blank, null,or not even an integer.I also was thinking that this would igonore persistence if the above condition is met.
This is what i have so far
when HTTP_REQUEST {
collect the payload containing the POST data content length is to tell LTM to stop collecting data
HTTP::collect [HTTP::header Content-Length]
}
when HTTP_REQUEST_DATA {
look for persistence data beginning the 16th character following the 'visitorID "<" char
and follow existing persistence record or create a new one
set visitorId [ string trim [findstr [HTTP::payload] "visitorId" 16 ""]]
if {string is integer -strict $visitorId}
{persist uie $visitorId
log local0. "[findstr [HTTP::payload] "visitorId" 16 ""]"
}
}
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
