Forum Discussion
13 Replies
Sort By
- Nicolas_Menant
Employee
Hi, - The_Bhattman
Nimbostratus
Another alternative code would look like the following:when HTTP_REQUEST { switch [HTTP::uri] { "x" { persist ssl [SSL::sessionid] 1800 pool poolx } "y" { pool pooly } } }
when HTTP_REQUEST { if { [HTTP::uri] eq "x" } { persist ssl [SSL::sessionid] 1800 pool poolx } else { pool Pooly } }
- Nicolas_Menant
Employee
[ERROR FIXED] - The_Bhattman
Nimbostratus
It was a cut and past error I just fixed. - Albert__Tase_70
Nimbostratus
I tired the following and can't seem to get the syntax right - Nicolas_Menant
Employee
Hi, - Nicolas_Menant
Employee
yes it's normal PROFILE::persist command is to retrieve data, not set them up. - The_Bhattman
Nimbostratus
According to the wiki PROFILE::persist doesn't set the persistance but simply returns a value after it is selectedwhen HTTP_REQUEST { if { [HTTP::uri] eq "/x" } { pool poolx } else { persist none pool pooly } }
- Nicolas_Menant
Employee
Hi, - Albert__Tase_70
Nimbostratus
ok when i use the last post it still not working