Forum Discussion
Append to list stored in table key
Kai,
I am a bit confused - is your example code related to adding new ips to key or to my needs from another post?
I wonder what exactly statement like $temp(session_id_counter) is doing - sorry, but I am really starting with iRules and last time I did some programming was 20+ years ago - so this skills are rather rusty :-(
I am aware that using variables is not good when performance is main goal, I even learned that variable name length is quite important to save resources.
I was reading all best practice articles about iRules that are available on DevCentral but it's not so easy to sort out all this knowledge right away.
To be honest I was not able to find some hard rules which data is cached by TMM and could be safely retrieved without performance ht and variable usage (like HTTP::host) and which are not, as well as (but maybe I missed this one) when is break even point for placing something in var instead of referencing that via command - I mean how many times is too much and it's better to use var - or maybe there is no limit here?
Is drop indeed working? I saw plenty of discussions suggesting reject as working.
Last one what is the reason to use unset -nocomplain temp?
Thanks for help, I really appreciate your time and effort here.
Piotr
Recent Discussions
Related Content
* 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