Forum Discussion
Creo_Cisor_1788
Nimbostratus
Dec 03, 2014HOW CAN I ENABLE A SESSION PERSISTENCE WITH XML CDATA?
Guys, In my case, there's an application which has a specific character in its XML body.
For example, the XML file is:
123456789
How can I get the code "123456789" and use to enable the session persistent?
Thanks for your help!3 Replies
Hi, you can create an irule to parse the response from your app and use extracted data (Username field) as record for session persistence.
- lizunjjg
Cirrus
hi guys: i hope can help you
when HTTP_REQUEST { set xml1 [getfield [HTTP::payload 0] "" 2] set xml2 [getfield $xml1 "" 1] if { $xml2 == "jjg" } { persist uie $xml2 1800 } }
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
