Pat_70435
Feb 17, 2017Altocumulus
Question on persistence - remove/add
Okay I'm not sure if this is the best approach, I have a VIP performing cookie persistence to a L7 iRule, passing traffic by URI.
Is the below possible, stripping the cookie from the designated URL and then adding Source Address Persistence only to that /URI value in question?
URL Example: school.com
school.com/abc << Cookie Persistence school.com/123 << Want to strip all Cookies and make it Source Address Persistence school.com/numbers << Cookie Persistence
Or will the school.com/numbers also remove cookies and inject Source Address persistence?
when HTTP_REQUEST {
"/abc*" {
pool abc
}
"/123*" {
pool 123
persist cookie remove
persist source_addr 255.0.0.0 0
}
"/numbers*" {
pool numbers
}
}