Hi,
I was wondering if you had any luck with this?
I've joined a thread addressing this issue at phpbb.com here:
phpbb.com/phpBB/viewtopic.php?p=145
...
My problem is not my forumname_sid, it's the userid. If you got userid working correctly let's swap code.
This code creates this cookie:
PHPSESSID=9fc8f0e597bfed7df2f38a8b2b48ba20; phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22
autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22
userid%22%3Bs%3A8%3A%22%22Jordan%22%22%3B%7D;
phpbb2mysql_sid=f93bb21135c9c2a4505d9cda6b3f8fa9
Here's what the cookie is when I manually log into the forum:
PHPSESSID=9fc8f0e597bfed7df2f38a8b2b48ba20; phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22
autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22
userid%22%3Bs%3A1%3A%223%22%3B%7D;
phpbb2mysql_sid=f93bb21135c9c2a4505d9cda6b3f8fa9
The only difference is the userid string...I think I'm handing it wrong because I hand
session_begin a string "Jordan" instead of an object, and you see it raw in the userid string,
though I tried handing it as an object too and phpBB didn't receive it correctly.
Thanks,
Jordan