Skip to main content
October 14, 2009
Question

Viewing active sessions (cfid/cftoken or J2EE sessionid)?

  • October 14, 2009
  • 1 reply
  • 814 views

Hello... is it possible to view the active sessions, whether cfid/cftoken or the J2EE sessionid for any given site on my server? I believe you can store client variables in a datasource, but I don't believe you can do this with the cfid/cftoken or J2EE sessionid correct? I'd really like to be able to query these values. I'm using CF 7.02 now but will be moving to CF 9, so if it's a feature there that'd be great.

This topic has been closed for replies.

1 reply

Inspiring
October 19, 2009

You can do it per application... but I'm not sure if there's a way of pulling out all the applications running on a given server.  The last time I looked for that sort of thing, I seem to recall not finding it (that's not to say it's not there: I just couldn't find it!).

But for all sessions within an application: do a google on "cf sessiontracker".  Various people have blogged about how to do what you need (if not exactly what you need, then enough to get you going in the right direction).

I thought I had some sample code that demonstrates it, but I don't :-(

--

Adam

October 19, 2009

Just tracking the session of one application should do. I'll check Bing/Google for cf sessiontracker and see what I can dig up. Thanks Adam.