Forum Discussion
Lee_Sutcliffe
Jul 17, 2012Nacreous
Hi, sorry for my late reply, it's been one of those days!
I've amended the rule so the response is first but still no joy
when HTTP_RESPONSE {
if { [HTTP::cookie exists "AUTHTOKEN"] } {
persist add uie [HTTP::cookie "AUTHTOKEN"]
}
}
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] equals "xxx" } {
if { [HTTP::cookie exists "AUTHTOKEN"] } {
persist uie [HTTP::cookie "AUTHTOKEN"]
use pool QA_xxx-pool
}
}
}
receive the same error in the ltm log:
Jul 17 21:39:24 local/tmm1 err tmm1[5129]: 01220001:3: TCL error: threeSixtyOnline_rule - wrong args: should be "persist add uie | { [any [virtual|service|pool] | pool ]}" while executing "persist add uie [HTTP::cookie "AUTHTOKEN"]"