ok... i'll try this... asap
Main Topics
Browse All TopicsI have built a large php site and now they want me to be able to integrate their users into PHPBB when the user goes to that area of the site. Is this possible? What are my options? In other words, the transition should be seamless. The user should login to my site, and when he or she clicks on forums, they should already be logged in when going there...
1. Possible?
2. Do I have to save to my db and phpbb's db when a user account is created?
3. How/if can i merge the sessions, or at least pass the right data to allow the seamless transition...
Thanks!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
However, this would still not help with 100% integrating them... Because we don't want them to have to register twice with different or the same usernames... I basically want to take the registration and login off from the phpbb side... and let my site login control whether they are logged in or registered..
Regarding this: "I basically want to take the registration and login off from the phpbb side... and let my site login control whether they are logged in or registered."
The general strategy I would follow is
(1) find the vars that phpBB uses to know who is logged in
(2) change your login script to set these at the same time you set your data in $_SESSION
(3) do the same sort of thing in reverse to the logout script
(4) watch out for cookies and mimic the process there, in case you have long-life logins kept via cookies.
I think this approach will give you the least number of function points that need modification.
HTH, ~Ray
@stephenmp: Just answered two question for you and I'm a little concerned that you just marked the grades for both of these two questions down to a "B" - why did you do that? What did I do wrong that caused you to mark the grades down? EE does not give us a way to get paid to write your code, and the grading guidelines seem clear. So please look them over and tell me how I should have responded differently. I am not used to seeing poor grades and so I want to understand why I got two of them from you in rapid succession.
Grading Guidelines are available here:
http://www.experts-exchang
Thank you for your consideration, ~Ray
Business Accounts
Answer for Membership
by: BrianMMPosted on 2009-09-25 at 02:53:05ID: 25421363
have'nt done it but it it's in $_SESSION as long as it's within the same session/vist you should be able to access them as long as you have a session_start() as usual.
create a test page with a dump of $_SESSION, loginto phpbb... goto test page and see if the session data gets displayed and see if phpbb's is there.