Robert_47833
Dec 21, 2011Altostratus
how to use foreach
when HTTP_RESPONSE {
set cjj [HTTP::cookie names]
foreach cjjcookie $cjj {
if {$cjjcookie == "how to add 4 cookie name here"
}
{ Do nothing.
}
else {
HTTP::cookie secure $cjjcookie enable
}
}
}
I have 4 cookie names need to be specified in ""
cookie1
cookie2
cookie3
cookie4