Forum Discussion
Brian_Mayer_841
Jan 27, 2012Nimbostratus
So I took a first stab at this.. how does this look to you guys? I opted for now class match for now... please provide your input!
Thanks
B
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/unica"} {
persist uie [string tolower [HTTP::cookie "UMPSESSIONID"]] 3600
pool Unica_Platform_Test
} elseif {[HTTP::uri] starts_with "/plan"} {
persist uie [string tolower [HTTP::cookie "PLANJSESSIONID"]] 3600
pool Unica_Plan_Test
} elseif {[HTTP::uri] starts_with "/campaign"} {
persist uie [string tolower [HTTP::cookie "CAMPAIGNSESSIONID"]] 3600
pool Unica_Campaign_Test
} elseif {[HTTP::uri] starts_with "/dashboard"} {
persist uie [string tolower [HTTP::cookie "JSESSIONID"]] 3600
pool Unica_Campaign_Test
}
else {
persist uie [string tolower [HTTP::cookie "UMPSESSIONID"]] 3600
pool Unica_Platform_Test
}
}