Forum Discussion
The_Bhattman
Nimbostratus
Mar 19, 2008Another alternative code would look like the following:
when HTTP_REQUEST {
switch [HTTP::uri] {
"x" {
persist ssl [SSL::sessionid] 1800
pool poolx
}
"y" { pool pooly }
}
}
or
when HTTP_REQUEST {
if { [HTTP::uri] eq "x" } {
persist ssl [SSL::sessionid] 1800
pool poolx
} else { pool Pooly }
}
thanks
/CB