Forum Discussion
Jacques_DL_3369
Nimbostratus
Nov 25, 2017Session ID Persistence based on Session id in Soap request.......
Hi can anyone help me. I'm trying to get an I rule to do Session id Persistence.
The Session ID is contained in the tag of the SOAP request. also to have a web service timeout value of 300 seconds (...
Kel
Nimbostratus
Dec 03, 2017Try Using Universal Persistence with following iRule adapted from post ";
===
when HTTP_REQUEST {
HTTP::collect [HTTP::header Content-Length]
}
when HTTP_REQUEST_DATA {
set soap_uri [HTTP::uri]
set soap_sid [findstr [HTTP::payload] "" 5 "<"]
log local0. "found request sessionID: $soap_sid in SOAP call: $soap_uri"
if { $soap_sid != "" } {
persist uie $soap_sid
}
}
when HTTP_RESPONSE {
set soap_sid [findstr[HTTP::payload] "" 5 "<"]
log local0. "found response sessionID: $soap_sid in SOAP response from: [LB::server addr]"
if { $soap_sid != "" } {
persist add uie $soap_sid
}
}
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
