login doesnt persist in phpBB
drupalxykon - December 18, 2007 - 04:22
| Project: | phpbb |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
When any user (including uid=2) logs into drupal and clicks on phpBB2 for the first time, the login works. However, clicking on any other link (faq, search , memberlist etc) or even refreshing the page logs the user out of phpBB2. The user is still logged in to drupal but the only way to get back to phpBB2 is logging out and coming back..at which point the whole process repeats
Any thoughts?
I'm using phpbb 2.0.19 and drupal 5.3
--S

#1
It's a cookie domain and/or cookie path issue, or persistent logins being disabled in phpBB.
phpBB uses a special cookie to store persistent logins, but then initiates a _sid cookie for the session. Most likely it finds the persistent cookie (set by the module) but then gets confused for some reason or other. Clear your cookies, then go through the sequence and look at the cookies in your browser at every step. Note that many browsers don't refresh the list of cookies properly, so you have to do it by opening and closing the window. Pay close attention to the cookie domain, whether a . is added to the front and then removed.
#2
Thanks. I had changed the webspace
#3