isInstanceOf() behavior in CF 9
I've been working with the isInstanceOf() method a lot and found that it does not work in ColdFusion 9 the way it has in previous versions.
I've created a set of inherited objects. Admin inherits from Member which inherits from User. In ColdFusion 9, I'll create an Admin session object - called thisAdmin - and the following code produces only the word "Admin", instead of "Admin Member User":
<CFIF isInstanceOf(SESSION.thisAdmin, "authentication.components.admin")>
Admin
</CFIF>
<CFIF isInstanceOf(SESSION.thisAdmin, "authentication.components.member")>
Member
</CFIF>
<CFIF isInstanceOf(SESSION.thisAdmin, "authentication.components.user")>
User
</CFIF>
This behaves as you'd expect in ColdFusion 8 - producing "Admin Member User". It's frustrating the ColdFusion 9 doesn't work as well as previous versions in this area. Any of you run into this problem? Any ideas on what I'm doing wrong?
