[phpBB] phpBB forum too slow

Compared to the uber KF, phpBB forum is a snail heheh. Anyway, I’m trying to “know” if a user is currently logged in (to the forum and my site – same login/cookies/session/etc) on my site OUTSIDE of phpBB. I’m pretty sure its just a matter of $_COOKIE or $_SESSION, but I do not know.

Basically, what I need is a way to check if it is set, and the value inside: $_SESSION[‘username’]; or whatever phpBB uses ($_COOKIE ??).

Any help on this will be greatly appreciated.