cancel
Showing results for 
Search instead for 
Did you mean: 

iRule for cookie tracking

rosarra
Altostratus
Altostratus

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]]" }

1 REPLY 1

iaine
MVP
MVP

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