Forum Discussion
A simple way to unset all variable during Client_CLOSED ?
- Jul 07, 2022
Variables are scoped to the connection. After its closed they no longer exist. The only time this is not the case when you create global variables via rule_init. So there is no need to delete these.
Hello Kevin,
Thanks for the answer. Just want to confirm , what you said also apply to " TCP::close " , right?
TCP::close is triggered at the close of the connection. Right after the processing of any iRule events related to that connection, the variables should no longer exist. A connection is a TCP session defined by quatuple of source-ip:source-port and destination-ip:destination-port.
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