cookie name
1 TopiciRule Switch/If/Else | using cookie name
Hello! Question 1 I am looking for a way to use the "switch" option (instead of an if/else condition) when a certain cookie name is present. For example: switch [HTTP::cookie name] { "CookieOne" { do something... } "CookieTWO" { do something else... } default { do something else else... } } .... [HTTP::cookie name] <- in singular (not names) Question 1 In case I use an if/else statement, is it possible to "lowercase" the cookie name and query the condition? For example: if { [ string tolower [HTTP::cookie] exists "JSESSIONID" ] } {....... Please advise J325Views0likes1Comment