UseBB Community

The official board for UseBB help and discussion

UseBB Community » Help & Support » Sometimes (Mozilla?) Users can't logout!

Sometimes (Mozilla?) Users can't logout!

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: Jul 2007
Posts: 7
I haven't done much testing under IE yet, but when we're using Firefox (my preferred browser for development), sometimes my co-workers and I are unable to log out of our UseBB installation.

We click "Log out", and then on the logout confirm screen "Yes", and it redirects to the index page and you're still logged in. I tried placing a die statement after the final Location header redirect, thinking perhaps PHP was performing the IIS-compatible meta redirect and that was somehow holding onto that session. But no dice. I know its getting that far 'cause a die statement right before the header redirect appropriately results in a blank page (no output). As far as I can tell, the software is somehow resurrecting the session when it loads the index or login page after that last redirect.

Incidentally, when using Opera (my preferred browser for normal use), I have experienced no such issues so far. I've tested IE minimally and haven't seen a problem yet, but that doesn't mean there isn't one I suppose.

In case you're wondering, this is the second of two problems we're experiencing (hence my other post just moments ago).
Developer
Registered: Apr 2004
Posts: 2180
Location: Belgium
Have you checked your cookies? Changing cookie settings, especially the cookie domain and path can lead into two cookies being in place for your forum. While the first one gets removed, the second one with an old session ID might trigger a new session immediately.

In any case, there's nothing wrong with Firefox support, I have been using it for years and over the years people have used UseBB with dozens of different browsers.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Jul 2007
Posts: 7
As far as I can tell, all the cookie settings are set to the defaults. According to the General Config > Cookies screen in the ACP, we can "leave these blank for auto-detection", which seems like the ideal scenario.

$conf['cookie_domain'] = '';
$conf['cookie_httponly'] = 1;
$conf['cookie_path'] = '';
$conf['cookie_secure'] = 0;
Developer
Registered: Apr 2004
Posts: 2180
Location: Belgium
Are you using IIS? Have you tried disabling httponly cookies? These might be about untested with IIS.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Jul 2007
Posts: 7
Nope, using Apache. I don't believe the problem is resolved, but clearing all cookies and clearing the cache seems to at least temporarily relieve the problem. No idea if this will crop up again or not, I'm sure I'll bring it up again if it does.
Member
Registered: May 2005
Posts: 292
Location: Washougal, WA
Even UseBB Community doesn't want to log me out the first time, my default browser is Firefox (2.0.0.5), no changes except upgrading Firefox.
Developer
Registered: Apr 2004
Posts: 2180
Location: Belgium
I suspect there's something wrong with HttpOnly cookies support in new Firefox (Gecko) releases. I've found out the latest Firefox 2.0.0.5 finally supports it. The cookies over here have had the HttpOnly flag since many months, though it seems 2.0.0.5 can't cope with these existing cookies.

I recommend to clear the cookies for this domain, this will probably fix the problem.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Mar 2006
Posts: 25
I use FF 1.5 and I have the same problem. If anybody can give some little example to fill that fields, I appreciate it very much.

PS: I can't login
« Last edit by metacortex on Sun Dec 02, 2007 10:11 am. »
Developer
Registered: Apr 2004
Posts: 2180
Location: Belgium
Clear the cookies for your domain... you can easily do this in the cookies window in Preferences.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Mar 2006
Posts: 25
Thanks. I already have cleared all cookies 3 times. I have been installed the forum in a subdomain.
Moderator
Registered: Oct 2005
Posts: 425
Location: canada
Why not update to FF 2.0?
Member
Registered: Mar 2006
Posts: 25
I always like to have 1 or 2 versions under. In addition, a couple of my favorite extensions are discontinued in newer versions, and i don't want to loose them. :)

Page: 1

UseBB Community » Help & Support » Sometimes (Mozilla?) Users can't logout!

UseBB Community is powered by UseBB 1 Forum Software