I'm trying to integrate Forum login to our main site login. Goal is to allow users to sync Forum to main site. If while logged in to main site in Settings, if the user is detected as logged in to the Forum, they are presented option (checkbox) to sync to Forum. Once synced, when they login to main site, they are then automatically logged in to the forum. I thought it was simple as creating a Session ID which is added to the codo_sessions database table sid column (although not populating session_data column since not sure how to construct), and creating the two cookies: PHPSESSID which contains the same Session ID, and userid which contains the User Forum ID. Not working. Hints or suggestions?
I'm trying to integrate Forum login to our main site login. Goal is to allow users to sync Forum to main site. If while logged in to main site in Settings, if the user is detected as logged in to the Forum, they are presented option (checkbox) to sync to Forum. Once synced, when they login to main site, they are then automatically logged in to the forum. I thought it was simple as creating a Session ID which is added to the codo_sessions database table sid column (although not populating session_data column since not sure how to construct), and creating the two cookies: PHPSESSID which contains the same Session ID, and userid which contains the User Forum ID. Not working. Hints or suggestions?