One more question... can you run multiple iRules that reference "when HTTP_REQUEST" on the same Virtual Server or would you have to combine them into one iRule? I will need to have an iRule like the following example on the same VS:
when HTTP_REQUEST {
if {[HTTP::cookie exists "cookieName"]} {
HTTP::cookie decrypt "cookieName" "passphrase"
}
}
when HTTP_RESPONSE {
if {[HTTP::cookie exists "cookieName"]} {
HTTP::cookie encrypt "cookieName" "passphrase"
}
}
My guess is I would have to add in an elseif branch to the "if {[active_members myPool] == 0}{" to incorporate decrypting existing cookies within an HTTP Request.
Geoff