Forum Discussion
Robert_47833
Apr 21, 2011Altostratus
question in http::cookie secure
when HTTP_RESPONSE
{
set myValues [HTTP::cookie names]
foreach mycookie $myValues
{
if {$mycookie == "cjj_INFO"}
{
Do nothin...
hooleylist
Apr 22, 2011Cirrostratus
I think it would be simpler to use a switch on the cookie value:
when HTTP_RESPONSE {
foreach mycookie [HTTP::cookie names] {
switch $mycookie {
"cjj_INFO" -
"cjj_SESS" {
Do nothing.
}
default {
HTTP::cookie secure $mycookie enable
}
}
}
}
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects