I'm sure this isn't the proper way but...
Assuming you are using a unix like system, with PHP4 sessions and have access to the /tmp directory where the session files are kept you could just use exec to run a grep command over the session files and extract the required information.
hint, they all start with sess_
Hope this helps.
Paul