Java and PHPBB login

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Registered User
Posts: 1
Joined: Tue Jul 19, 2005 5:38 pm

Java and PHPBB login

Post by kb05 »

Hello I am new here and I wanted to know if I could implement PHPBB into so that when the user logs into my Java app. They will not have to login again to access PHPBB. Is it possible for the two apps to use the same cookie or is it possible to send the login information via the java app to PHPBB?

Registered User
Posts: 2000
Joined: Sat Jan 24, 2004 3:02 pm
Location: Lexington, Kentucky

Post by fumbalah »

This might be possible, but It would require a mod. Your best bet would be to post in the MOD request forum and see if anyone's up for it

User avatar
Registered User
Posts: 761
Joined: Sat Jul 05, 2003 1:43 am

Post by Flaming_cows »

You can give the user an autologin cookie from your Java application which will keep them logged into phpBB. You can also create a session for them in the phpBB database when they log into your Java application if you don't want to force-set the cookie for autologin (I guess a user might not want the cookie). Look iat the phpbb_sessions table to get an idea of what you need to do in the Java application.


Return to “2.0.x Support Forum”