Discuss general development subjects that are not specific to a particular version like the versioning control system we use or other infrastructure.
5 posts • Page 1 of 1
Hey phpBB community! I have a small potential project that requires hooking into the phpBB session so users don't have to log in twice (and more importantly so the authentication is off my hands). My main IT contact for the project mentioned phpBB offers a "session export" functionality so something like a .NET web application can take control of a token. I'm not seeing anything like this in the documentation/wiki, so can anyone confirm that this functionality exists? If it doesn't, it looks like I may have to learn some PHP unless anyone more familiar with phpBB can think of a solution that I am not
Which database are you referring to? From the information I've gotten from our client, the server that hosts the MySQL database for the existing website does not allow any external connections. I suppose the information contained in the cookie could be enough to work off of though...
Cookie contents is just random string. You need to match this string to sessions table of phpBB's database to fetch user data and eventually log him in or whatever you are trying to achieve.
- Registered User
- Posts: 762
- Joined: Tue Nov 01, 2005 9:50 pm
- Location: Milano (I) Frankfurt (D)
I think Senky is speaking about the cookie "phpbb3_blah_sid" wich contains the session id of the user, to be compared to the user "session_id" of the SESSIONS_TABLE.