Ray, I sent this to your Gmail account but didn't get a reply. I also tried AIM'ing you a couple of times today with no response so here it is:
Maybe we can rename it to getAppSessions() or something else you might find suitable? I chose getAppSessions below. getSessionList implies that it returns a list type and it's apparently the name of an older function written by someone else. I dont know what was in the previous version(s) (or that they existed) or who [EMAIL PROTECTED] is but I wouldnt want him thinking I revised his UDF and/or had it replaced. :-) Also, Appname is a required parameter but it is listed as optional in what you have now. This should straighten everything out. <cfscript> /** * Gets all the session keys and session ids for a given application. * * @param appname Application name. (Required) * @return Returns a structure. * @author Bobby Hartsfield ([EMAIL PROTECTED]) * @version 1, December 4, 2006 */ function getAppSessions(appname){ var obj = CreateObject("java","coldfusion.runtime.SessionTracker"); return obj.getSessionCollection(appname); } </cfscript> Thanks. ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.15.6/568 - Release Date: 12/4/2006 3:20 PM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262958 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4