Skip to Content Skip to Menu

Search Results (Searched for: Session expired or cookies are not enabled in your browser)

  • bibi73300
13 Oct 2026 14:50
Environment:
- Joomla 6.1.4, PHP 8.3.35 - Community Builder 2.12.0 (reinstalled over existing install, same result)
- Shared hosting with Varnish in front (X-Cacheable: NO, pages not cached)
- Session handler: database, lifetime 60, cookie_domain/cookie_path empty, force_ssl = 2
- No page cache, CB login module cache disabled

Issue: Login through the CB login module always fails with "Session expired or cookies are not enabled in your browser", on both production and a test copy, including in private browsing.

Findings:
- Joomla's csrf.token changes on every page reload (frontend only).
- The browser sends the same Joomla session cookie on each request, and Joomla does not send a new Set-Cookie.
- The matching row in #__session exists but its "time" and data are never updated after the first request, so session data is never written back.
- Administrator session works normally (row updated on each request).
- Disabling only "System - Community Builder" (all else unchanged): csrf.token stays stable across reloads.
- Plugin is published, Public access, ordered first among system plugins. - Disabling bfstop / Regular Labs with CB enabled: no change.

Workaround: Joomla native login module, CB login module unpublished.

Note: not the Page Cache case from thread 248177 — System - Page Cache is disabled, responses are sent with no-cache headers, and the token changes on every reload rather than being frozen.

Any idea what in the CB system plugin could prevent the Joomla session from being written at the end of the request?
 
  • kletterdorf
24 Sep 2026 14:01
we are experiencing intermittent login failures with Community Builder on Joomla 6. I have been able to reproduce the issue reliably and traced it down to CB's form-token validation.Reproducible scenario
  1. User A is logged in.
  2. User A logs out.
  3. The login form is used to log in as User B.
  4. Instead of logging in, Community Builder displays:

Session expired or cookies are not enabled in your browser. Please press "reload page" in your browser, and enable cookies in your browser.

The German translation is
Code:
UE_SESSION_EXPIRED
.The issue has been observed with Firefox on Windows. We also have a user for whom the problem occurs intermittently on two Windows computers, while login from Firefox on Android works.Clearing the site's cookies/session data temporarily appears to resolve the issue.What I foundThe failing request is:
Code:
POST /einloggen → HTTP 200
A successful login produces:
Code:
POST /einloggen → HTTP 303
I traced the failing request to
Code:
components/com_comprofiler/comprofiler.php
, function
Code:
login()
.Before username/password authentication takes place, CB performs:
Code:
if ( ! Application::Session()->checkFormToken() ) { return; }
This calls
Code:
CBLib\Session\Session::checkFormToken()
:
Code:
if ( Application::Cms()->checkFormToken( $method ) ) { return true; } $error = CBTxt::Th( 'UE_SESSION_EXPIRED', 'The most recent request was denied because it had an invalid security token. Please go back or refresh the page and try again.' );
For Joomla 6, CB ultimately delegates this to:
Code:
return Session::checkToken( $method );
So the failure occurs during CSRF token validation, before CB evaluates the supplied username or password.The token is present in the POSTI inspected the failed POST request in Firefox Developer Tools. The form does contain the Joomla/CB token, for example:
Code:
7aad6c5e3ff32f7154b9c11281481279: "1"
along with the normal CB login fields (
Code:
option=com_comprofiler
,
Code:
view=login
,
Code:
op2=login
,
Code:
loginfrom=loginform
, username, password, etc.).CB generates this field using:
Code:
Application::Session()->getFormTokenInput()
with the token name supplied by Joomla and value
Code:
1
.Therefore this does not appear to be a case where the browser simply omits the CSRF token.
Code:
Session::checkToken('post')
rejects a token that is present in the submitted form.Additional observationIn another occurrence we saw the following sequence:
Code:
POST /einloggen → 303 GET /home → client cancelled request POST /einloggen → 200
The first POST had actually authenticated the user successfully. Nevertheless, the subsequent POST resulted in the
Code:
UE_SESSION_EXPIRED
message. The user could see the error message while already being logged in ("Logout" was displayed in the site navigation).QuestionsCould this be a known issue with Community Builder's session/CSRF handling on Joomla 6, particularly after logout/session regeneration?Is there anything specific we should check regarding CB login forms and Joomla session regeneration after logout?I can reproduce the "User A logout → User B login → invalid token" case and can add temporary diagnostic logging if you need the expected token, submitted token and Joomla session ID for the GET/POST sequence.One additional minor issue: the current German
Code:
UE_SESSION_EXPIRED
translation still says that the session has expired or cookies are disabled, while the current English default string correctly describes the actual condition as an invalid security token. This made the issue initially look like a browser-cookie problem.
  • nphic
02 Jun 2026 15:03
CB Subscription does not completed was created by nphic
Folks,

I'm having a problem with CB Subscriptions. Our website is www.nphic.org . If you click on the Join button on the top of the webpage, a CB Subscriptions plan page is presented. The form seems to work fine. After selecting the plan and filling out the information, a Loading... button appears. It stays there for quite a while and then I get this message:

Session expired or cookies are not enabled in your browser. Please press "reload page" in your browser, and enable cookies in your browser.

It's like it never completes the process. When I look in CB User Management, the person is there and assigned to the correct plan.

Any idea where I should be looking to resolve this issue?

Thanks,
Joe
Displaying 1 - 3 out of 3 results.
Powered by Kunena Forum