Forum Discussion
anujl_5566
Nimbostratus
Nov 02, 2011Persistence 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
Employee
Nov 04, 2011i 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
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
