Forum Discussion
Kris82_167334
Apr 30, 2015Nimbostratus
Checking session subtable in IRule
What is the correct way of checking if a session subtable with given name exists in IRule ?
In the use case I am working I need to distinguish between a subtable which has no rows and a subtable...
What_Lies_Bene1
Apr 30, 2015Cirrostratus
Hmmm, the only thing I can think of is to add a test row every time you create a table. Then you can do a count for a table that is empty (1 entry) and use an if with an attempt to increment the test row value, it'll return 0 if the subtable doesn't exist. Make sense?
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