Class ordering in an iRule
When writing your iRules there are many different ways that you can store information to memory. Whether you decide to use standard variables, the session table, class files, arrays or something els...
Published Sep 12, 2008
Version 1.0Colin_Walker_12
Historic F5 Account
Joined May 12, 2005
Colin_Walker_12
Historic F5 Account
Joined May 12, 2005
brad_11480
Nimbostratus
Dec 12, 2008Thanks for a very good description as I was assuming class entries would retain their order.
So I have a question from an example I found on DevCentral to obtain the value of a list entry once I matchclass on it. Once I recieve the index, will I reliably be able to obtain the value as in the example:
set idx [matchclass $myURI starts_with $::class_redirect]
set idxtxt [lindex $::class_redirect [expr $idx - 1]]
will 'idxtxt' contain the value matched?
thanks..