Forum Discussion
Robert_47833
Altostratus
Apr 21, 2011question in http::cookie secure
when HTTP_RESPONSE
{
set myValues [HTTP::cookie names]
foreach mycookie $myValues
{
if {$mycookie == "cjj_INFO"}
{
Do nothin...
hoolio
Cirrostratus
Apr 22, 2011I 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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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