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
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:262737
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4