Forum Discussion
Mike_73765
Nimbostratus
Aug 20, 2010issue with cookie persist irule
Hey guys, I am having an issue with an irule that I got from code share that is shown below. This irule is used on 2 virtual servers (using the same nodes, but different ports) and should be persisten...
Hamish
Cirrocumulus
Aug 20, 2010I'm not sure I see how your iRule would work... However, a couple of things I notice...
1. The cookie is encrypted, yet you use the actual cookie value directly in
set persist_node [HTTP::cookie "cookie"]
which means the node $persist_node [...] is going to fail too...
shouldn't that be
set persist_node decrypted
or simply replace 'decrypted' with 'persist_node'...
2. Why are you looping through the poolmembers?
3. What happens if the cookie exists already but wasn't actually set by the iRule HTTP_RESPONSE?
I think you need to catch {} any errors from the decrypting too... Otherwise bad cookies will kill your connection... Are there any other errors (Sorry, I don't have my stuff with me to actually test your iRule on an LTM).
H
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
