Forum Discussion
Adrian_Pillo_18
Nimbostratus
Nov 15, 2013session soap irule persistency
session soap irule persistency
Kevin_Stewart
Employee
Feb 12, 2014Two things:
-
Do you see it logging the sessionID values in the request?
-
Do you have this iRule applied to a universal persistence profile (not the VIP)?
Also, minor typo in findstr command:
when HTTP_REQUEST {
HTTP::collect [HTTP::header Content-Length]
}
when HTTP_REQUEST_DATA {
set my_uri [HTTP::uri]
set my_sessionId [findstr [HTTP::payload] "sessionId=" 10 ","]
log local0. "found request sessionID: $my_sessionId in SOAP call: $my_uri"
if { $my_sessionId != "" } {
persist uie $my_sessionId
}
}
when HTTP_RESPONSE {
set my_sessionId [findstr[HTTP::payload] "sessionId=" 10 ","]
log local0. "found response sessionID: $my_sessionId in SOAP response from: [LB::server addr]"
if { $my_sessionId != "" } {
persist add uie $my_sessionId
}
}
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