Forum Discussion

rosarra's avatar
rosarra
Icon for Altocumulus rankAltocumulus
Sep 01, 2022

iRule for cookie tracking

I wrote a simple iRule to read the cookie contents in Persistence Cookie Insert mode. Some times, however, the result of the log is an empty string in the HTTP_RESPONSE
Is this normal?

when HTTP_REQUEST { log local0. "ClntIP: [IP::client_addr]:[TCP::client_port] Client values [HTTP::cookie value BIGipServerpool-sPs]" }
when HTTP_RESPONSE { log local0. "SrvIP: [IP::server_addr] Server values [HTTP::cookie value BIGipServerpool-sPs]]" }

  • Hi

    Yes, this is normal.  This cookie gets set by the F5 and not the Web servers and so you wont see it in established traffic flows, you will only see the client present it on each request