While this is great for debugging etc, do you realise the security implications. All customers on a shared server can write code like this to view everyone elses (including yours) session and application variables as for all apps on the server, which will often contain personal data, shopping cart details, login information, database passwords etc. Another reason not to use shared hosting and another example of how CFMX is just not suitable for shared hosting.
Russ -----Original Message----- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: 04 December 2006 16:38 To: CF-Talk Subject: Re: getSessionList.cfm UDF Bobby, you mind if I "borrow" this mod and add it to the core UDF as an optional argument? On 12/4/06, Bobby Hartsfield <[EMAIL PROTECTED]> wrote: > I haven't used it, but have used my own. > > <cfscript> > function getSessions(appName) > { > var tracker = > createObject("java","coldfusion.runtime.SessionTracker"); > return tracker.getSessionCollection(appName); > } > </cfscript> > > > <cfdump var="#getSessions(application.applicationName)#"> > > > That will dump ALL sessions in the current application... not just yours. > Try it in more than one brwoser at once to see. > > > ..:.:.:.:.:.:.:.:.:.:.:. > Bobby Hartsfield > http://acoderslife.com > > > > > > -----Original Message----- > From: Richard Cooper [mailto:[EMAIL PROTECTED] > Sent: Monday, December 04, 2006 6:23 AM > To: CF-Talk > Subject: getSessionList.cfm UDF > > Hi, > > Has anyone used the getSessionList.cfm UDF from cflib? > > It seems to be returning sessions from all apps wher I only want it to > return the sessions for the calling application. > > Does anyone know how to do this? > > > Richard > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:262800 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

