Posted by hargobind on November 6, 2009 at 11:35pm
| Project: | phpBB Forum Integration |
| Version: | 6.x-2.0-beta5 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I'm having some trouble with my site where the Persistent Login module doesn't seem to keep me logged in when I have the "phpBBforum: Hidden Authentication" block turned on. With the block disabled, I stay logged in just fine. But with it on, I have to log in every time. I even occasionally seem to get logged out when opening multiple browser tabs on my site.
Any ideas?
Comments
#1
I have a problem along similar lines.
As long as I have the phpbbforum module enabled, some users can't log in at all - they get redirected to the front page after having been logged in for seconds (I checked the sessions table) - while others are just randomly logged off after no particular time, on some random page. The user is logged off, but not returned to the front page but led on to the page clicked.
I don't use Persistent Login, but have the hidden login block on all pages, albeit it doesn't login users to the forum when they log in to Drupal, which I thought was the purpose.
In other words: the combined login system is not really working smoothly...
Martin
#2
Same problem here, even with the default session timeout in settings.php (I originally set it to 0 as instructed).
It's particularly annoying since sessions don't even last until the browser is closed.
#3
I'm being able to log in, I'm just being LOGGED OUT after random times. I don't have the Persistent Module installed but I do have the hidden auth block on.
#4
I'm using 6x-2.0-RC4, but think I'm dealing with the same problem.
I think it might be just a wrong setting for in my case.
When I'm logged on the actual site (example.com) click the forum button (connect.example.com / exampel.com/connect) I'm not logged on.
Than, when go back without sign off from the forum to the actual site, I'm logged out. Than when I click the forum button again, I'm also logged out. But if I click the 'back' button of my browser, back to the forum, I'm still logged on.
The actual site and the forum have 2 different databases. For the forum I created a sub-domain.
I made a screenshot of my settings. Maybe that helps?
Thanks.
#5
In your settings.php set ini_set('session.cache_expire', 691200);
In your ACP 'Load Settings' set session length to 691200
This will keep users sessions open and logged in for 8 days.
This module overrides Drupal and PHPBBs persistent login cookies and works purely with session cookies. This isn't without its problems, browsers like AOL have session cookies blocked by default so AOL users will never be able to log in, unless they enable it.
Also sessions are logged to both the Drupal database and PHPBBs so session tables can get very large if your site is busy. I've found 8 days to be fairly optimal.
There is also a bit of a security issue keeping sessions open for that long, it greatly increases the risk of 'session jacking' keeping sessions open for that long. So i'd be careful using this module on sites that require very solid security.
#6
Paul, in my case that didn't solved the problem. Only the login time (which I set to 7200) Eight days is to much by my thoughts.
#7
Is someone from this module working on this?
#8