On Mon, Aug 16, 2010 at 8:47 PM, Alan Holden <[email protected]> wrote:

>  I should add that my J2EE Sessions are currently disabled...
>

Put on your propeller beanie ...

<cfset cfSession = CreateObject('java',
'com.naryx.tagfusion.cfm.engine.cfSession').init(getPageContext().getRequest(),
getPageContext().getResponse(), getPageContext().getServletContext()) />

<cfdump var="#createObject('java',
'com.naryx.tagfusion.cfm.application.cfApplicationManager').getAppData(cfSession,
'foo').getSessions()#" />

That will dump a struct of structs of all current sessions and their data in
the application 'foo', so of course adjust the application name accordingly.

I could have combined that all into one line but I didn't want anyone's head
to explode. ;-)

Note that the cfSession variable is a session against the engine (kinda
sorta like a request), not a CFML session as we're used to dealing with on
the application side of things.

There may be an easier way to get at that stuff but that's what I came up
with.
-- 
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca / Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 official manual: http://www.openbluedragon.org/manual/
 Ready2Run CFML http://www.openbluedragon.org/openbdjam/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to