Forum Discussion
(Custom Persistence) Extracting string from application data and using it for persistence
Hello All:
In the application data we have tokens and I would like to switch from SSL Persistence to Token based persistence as Token are assigned by a unique pool member in a pool.
Would something like below be possible to achieve using irules
- Search for Token issued by Server after the TCP handshake to the client
- Persist using this token for current and any subsequent connections
The token is inside a SOAP call, which is SSL encrypted. We will offload both client and server Certs to F5 and then plan on using the above method where we search for token, and use the token for persistence to ensure any current and subsequent connection is persisted to a Node that issued the toke.
Are there any example irules that i can look at to see how i would search for the token and then use it for persistence.
Thank you and best regards
1 Reply
- JPV_131616
Cirrus
is the token in HTTP header or in xml payload only?
if in header it's easier to grab, otherwise you need to parse the payload using a collect method...
cheers
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