I have a problem which is close to challenge described here. I have to login user on the page which is not within PHPBB and moreover, the user when he clicks on PHPBB link from my page should enter PHPBB and be already logged in. So I found the way to login user on my page, but I didn't manage to start session properly so that when the user leave my page it entered PHPBB already logged in.
Here is my code for logging an user in:
$phpbb_root_path = PHPBB_ROOT_PATH;
$phpEx = 'php';
include($phpbb_root_path . 'common.' . $phpEx);
//after this I can see user data in $user variable - it's ok. But if user goes to some PHPBB page than, it have to login again.
Thank's for any help.