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...
Kurt_Knochner_5
Nov 03, 2011Cirrus
O.K. I have not tested it, so you'll have to do it the other way round :-)) Sorry for that.
Can you please try this?
when HTTP_REQUEST {
persist none
all the other stuff
if { [HTTP::path] equals "/api/v1/sendpinajax" } {
log local0. "[IP::client_addr]:[TCP::client_port]: this is the path [HTTP::path] "
HTTP::respond 200 content "HTTP path [HTTP::path]\n\n"
HTTP::path /sendpinajax
pool MM-MEP
persist cookie insert "MM-MEP-SENDPIN"
}
}
BTW: do you know if the clients are using HTTP 1.1?
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