Forum Discussion
Jace_45978
Mar 19, 2012Nimbostratus
persistence based on uri call
would like to add persistence profile if client makes call with /admin in the uri to the VS otherwise there is no persistence on the VIP.
I plan on adding a universal persistence to the VS with t...
kunalPatel_3157
Oct 25, 2018Cirrus
I actually have a follow-up
I have following irule:
when HTTP_REQUEST {
if { ([HTTP::uri] contains "Communication") or ([HTTP::uri] contains "Builder") }{
persist cookie
pool XYZ
}
elseif { ([HTTP::uri] contains "PDFTemp") or ([HTTP::uri] contains "DOCTemp") or ([HTTP::uri] contains "Servicenew") or ([HTTP::uri] contains "ServiceCorrespondence")}{
log local0. "Client IP = [IP::client_addr]"
persist none
pool ABC
}
}
But I am not still seeing Persistence on second pool ABC and I had to put the Persistence method cookie on Virtual servers Resources, Default Persistence Profile Section.
If I don't put that on the Virtual server, it gives an error that irule is using Persistence method so VS needs to have "cookie" in VS > Resources > Default Persistence Profile Section : "Cookie"
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects