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...
anujl_5566
Nov 04, 2011Nimbostratus
Guys thanks for all the help. I will use persist none in for the urls where I do not need persistence and default persistence profile for urls where i need persistence. I am doing this because I am sure in future we will have urls wich will select new pool members and the KB article which I pasted above talks about this limitation , that if we have an iRule which selects differnt pools with non similar pool members, persistence fails unless we have default cookie name.
Also as Kurt mentioned if the same TCP session is used to do a Get requet for a new url persitence will not work as desired because it is based on sessions. I noticed that while testing from my browser, so when I was jumping from one url which had persistence to one which did not have, I was not getting right pool member until i hit rtefreshed once or twice, which I guess in the back opens a new TCP socket and the persistence selection logic kicks in.
Thanks again.
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