atoth
Mar 27, 2017Cirrus
Could someone explain how to create a cookie via irule?
I've got a pre-existing irule that checks whether the value of an individual cookie equals a given value, and then sends it on to a particular server. So I've got this line I'd like to put earlier in the rule.
http::cookie insert value targetCookie "" path / domain ".abc.com"
The latter line, which was already existing is as follows.
elseif {([http::cookie value "targetCookie" ] equals "" ) } { node }
This seems simple enough, but I'm scratching my head as to the relationship between "targetCookie" and its value and whether I got the syntax correct.
I'd also like to know whether for the domain parameter, does ".abc.com" need quotes or not.