No big deal but you could have

<cfset allSessions= createObject("java","coldfusion.runtime.SessionTracker
").getSessionCollection(application.applicationName) />

or if don't feel like using createObject() function or createObject tag
sometimes you can just forName() method of Class object

<cfset stringObject = "">
<cfset anyClass = stringObject.getClass()>
<cfset allSessions = anyClass.forName("coldfusion.runtime.SessionTracker
").newInstance().getSessionCollection(application.applicationName)/>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260319
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to