Forum Discussion
Chris_13067
Nimbostratus
Oct 29, 2008persistence based on text in payload
Hi,
I have an app that initiates a TCP connection to a server, which performs a login function, and returns a text string to be used as a session ID. The initial connection is then clos...
Nat_Thirasuttakorn
Employee
Nov 11, 2008sorry I wrote it too fast.
what I mean is.. how many virtual server do you have (which using this irule)?
if you have only one virtual, that is fine.
in some case, somebody may have persist record added on one virtual and use it in another virtual. this one you may need "any" keyword.
for data string/session id which is not text string, it might be easier if you use "binary scan command" here is an example
@22 (at byte 22) read as H64 (hex - 1 byte = H2) save it in variable SvrSessionId
binary scan [TCP::payload] @22H64 SvrSessionId
it is easy to verify hex string with packet trace, but it will consume more memory.
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
