Forum Discussion
Dan_24402
Sep 10, 2009Nimbostratus
Hey Aaron,
We are seeing the set cookies of the BIGipServer cookies in the response, and then it seems to persist to those instead of the Custom Cookie Name
Here is a sample rule causing it:
rule redirects {
when HTTP_REQUEST {
set eat_cookie 0
set sessioned_req 0
Routes specific folders to specific pools
switch -glob [string tolower [HTTP::uri]] {
"/static/*" {
persist cookie insert ServerIP2
HTTP::cookie remove ServerIP
pool pool_80
}
"/dynamic/*/content/*" {
set eat_cookie 0
set sessioned_req 1
pool pool_81
}
default {
persist cookie insert ServerIP2
HTTP::cookie remove ServerIP
}
}
}
}