Forum Discussion
Jason_130176
Oct 14, 2014Nimbostratus
URL persitance iRule using UIE
I am tring to write an iRule to hash the hostname with CRC and persist all connetions for a specific URL hostname to one server, I am unable to add the uie add command in the HTTP_REQUEST context.
...
What_Lies_Bene1
Oct 14, 2014Cirrostratus
You don't need the square brackets here;
persist uie [$mod]
You could also save a bit of memory like so (I think);
set mod [expr [crc32 [string tolower [HTTP::host]]] % 6]
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