Forum Discussion
ramann_75062
Nimbostratus
Sep 26, 2010Bug in HTTP::request_num in combination with "pool" copmmand?
Hi@all,
i try to implement an irule for session limitation. My template: "http://devcentral.f5.com/Wiki/default.aspx/iRules/HTTPSessionLimit.html"
The rule is based on:
if {[HTTP::request_num] == 1}{
incr ::total_active_clients }
and
if {$::total_active_clients > 0} {
incr ::total_active_clients -1
log local0. "Session abgebaut...ID:$client_id..."
}
This works fine.
But when is have an
if {[HTTP::uri] starts_with "/vorverkauf" } {
pool tixx-www-pool-cc }
else { pool $myPool
}
active, then " incr ::total_active_clients 1" counts to the max value, then when a session is closed, then "incr ::total_active_clients -1", but it never do "incr ::total_active_clients 1" again and "::total_active_clients" will stay on zero.
Any ideas?
Thanks
Bjoern
- ramann_75062
Nimbostratus
BIG-IP 9.4.7 Build 320.1 Final
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