I don't have a comment as to the method you've developed, but it seems like the following resources may at least give you something to consider.
Ray Camden has code for tracking sessions. I've used it and modified it to do what you're talking about, I believe. Here's a link to the post on his blog... http://www.camdenfamily.com/morpheus/blog/index.cfm?mode=search And here's a udf on CFLIB that will also allow you to see all of the sessions... same basic idea as with Camden's stuff http://www.cflib.org/udf.cfm?ID=1135 And just for the hell of it, my code... again, adapted from the sources above. <cffunction name="unlockProcessA"> <cfargument name="keyValue" required="Yes" type="numeric"> <cfset structdelete(application.processA, arguments.keyValue)> <!--- Instantiatate Java Object holding all Sessions on the system ---> <cfset tracker = createObject("java", "coldfusion.runtime.SessionTracker")> <cfset sessions = tracker.getSessionCollection("processA#request.serverinstance#")> <!--- Find any sessions belonging to users other than the one calling this function and delete any processA-specific keys ---> <cfloop collection="#sessions#" item="i"> <cfif sessions[i].usernbr NEQ session.usernbr> <cfset target = sessions[i]> <cfloop collection="#target#" item="j"> <!--- ProcessA is the only process that sets numeric keys. So check for numeric keys and the "abcnbrs" key to get rid of them ---> <cfif isnumeric(j) or j eq "abcnbrs"> <cfset structdelete(target, j)> </cfif> </cfloop> </cfif> </cfloop> </cffunction> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187950 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

