Forum Discussion
brad_11480
Jul 13, 2010Nimbostratus
okay so when upgrading from v9 to v10 the class definitions are not altered?
at least that is what I have observed.
So in v9 i am using a 'findclass' command to return the value for a string.
does this still work when going to v10 or is a code change required??
class class_table {
{
"/testit pool_testit"
"/othertest pool_anothertest"
}
}
commands:
when HTTP_REQUEST {
set myURI [string tolower [URI::decode [HTTP::uri]]]
set target [findclass $myURI $::class_table ""]
:
so is the value of target returned in v10 the same as v9?
in v9 if $myURI is the value of /testit
$target would be pool_testit