Forum Discussion
hooleylist
Oct 01, 2008Cirrostratus
You can use the persist command (Click here) to specify how to persist the client, but you can't actually specify a custom persistence profile:
when HTTP_REQUEST {
Persist based on the requested URI (case-insensitive)
switch -glob [string tolower [HTTP::uri]] {
"/twenty*" {
Persist the client for 20 minutes based on source IP with /32 mask
persist source_addr 255.255.255.255 1200
}
"/sixty*" {
Persist the client for 60 minutes based on source IP with /32 mask
persist source_addr 255.255.255.255 3600
}
default {
Take some default action?
}
}
}
You should consider adding a OneConnect profile to the VIP when using a rule like this. (Click here) for details.
Aaron