If you integrate phpBB sessions, by including common.php and calling this:
Code: Select all
$user->session_begin();
$auth->acl($user->data);
$user->setup();
Now you can access the username by calling $user->data['username'].
Keeping the password in a $_SESSION var is not a particularly good idea, In your other application, it might be easier to integrate phpBB sessions, and force a login from that.