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...
koenning_107182
Mar 20, 2012Nimbostratus
Hi Jace,
this looks good so far, the irule should look like this:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/admin" } {
persist source_addr 255.255.255.255 2100
}
}
If the clients accessing this application are not behind any form of nat, it can be a good solution.
However, it is always better to persist higher up the stack, just in case.
Is there any cookie you could hook up on ? If not, are you allowed to set a cookie ?
Thanks,
Christian
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