Try this...

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



If there is a specific session var you are looking for, loop over the
'sessions' var and look for it. Or just dump the whole thing inside the loop


<cfloop item="s" collection="#allSessions#">
<cfif structKeyExists(allSessions[s].mysessionname,"mysessionvar")>

#allSessions[s].mysessionname.mysessionvar#<br>

-0r-

<cfdump var="#allSessions[s].mysessionname#" />

</cfif>
</cfif>
</cfloop>


Remember, unless you are timing sessions out when browsers close, they
aren’t always going to be valid sessions. They could be sessions that just
haven’t timed out yet from people who have abandoned the cart.

Probably some typos in there... let me know if it doesn’t work and ill put
it in a template  :-)


..:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.14.3/531 - Release Date: 11/12/2006
7:34 PM
 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:260301
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