Forum Discussion
anujl_5566
Nov 02, 2011Nimbostratus
Persistence Cookie iRule not working as desired
when HTTP_REQUEST {
if { [HTTP::path] equals "/api/v1/sendpinonceoff" } {
HTTP::path /sendpinonceoff
pool MM-MEPD
persist none
}
if { [HTTP::path] equals "/api/v1/verifyp...
nitass
Nov 04, 2011Employee
i understand persistence profile is required when using persist cookie command.
by the way, i agree with Kurt's irule, i.e. setting persist none first and then specifying custom persist cookie on specific url, since your irule does not set persist none on url which does not match those conditions.
additionally, utilizing if/elseif instead of series of if clause would be good.
e.g.
if {...} {
do something
} elseif {...} {
do something
} elseif {...} {
do something
} else {
do something
}
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