Forum Discussion
huli_huli_37457
Nimbostratus
Feb 04, 2012Table timeout/lifetime Not Reflected in -count
Howdy! I am attempting to build an IRULE that functions as a gate keeper, limiting the number of active sessions at any given point in time. I am using a sub-table to manage ea...
nitass
Employee
Feb 05, 2012set session_count 0
foreach { key } [table keys -subtable $table_subname] {
set key_timestamp [table lookup -notouch -subtable $table_subname $key]
incr session_count 1
}just wonder if this is all calculation key count code. it seems session_count must be equal to a number of key in subtable (since it is increased in each loop. how come is result different??
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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