Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

Logout issues

  • LineMine
  • LineMine
  • OFFLINE
  • Posts: 160
  • Thanks: 22
  • Karma: 6
6 years 9 months ago - 6 years 9 months ago #301933 by LineMine
Logout issues was created by LineMine
Hi Kyle

I am aware of the recent Joomla issues with session handler logging out, and I have updated to version 3.8.5. I believe however, that I was experiencing a problem with this before Joomla 3.8.4, and in any case I certainly still have a problem, in that users are not being logged out after the session lifetime, currently set to 5mins for testing, with the handler set to Database.
I am also aware that this can be caused by keep alive behaviours, so I'm doing my best to track down whether this is the issue.

I do have a possible related issue as well, though, which is that I cannot log users out from admin. When I try and do this, the user is shown as still logged in on the front end, and a page refresh shows them as logged in to Admin as well. Can you suggest what is causing this please?

Thanks
Last edit: 6 years 9 months ago by LineMine.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
6 years 9 months ago #301958 by krileon
Replied by krileon on topic Logout issues
CB does not maintain the Joomla session. That's entirely handled by Joomla. Suggest posting on Joomla.org forums if you've session expiration issues.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: LineMine

Please Log in or Create an account to join the conversation.

  • LineMine
  • LineMine
  • OFFLINE
  • Posts: 160
  • Thanks: 22
  • Karma: 6
6 years 9 months ago #302000 by LineMine
Replied by LineMine on topic Logout issues
Okay, point taken on that and I'll work accordingly on the session expire issue.

I have made some progress on the issue I have logging users out from the backend. I activated the Joomla login module alongside the CB login and it seems that if a user logs in via Joomla, they can be logged out by Admin, but not if they log in via CB.This suggests to me that I've got some conflict somewhere in my CB setup on this site, maybe?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
6 years 9 months ago #302008 by krileon
Replied by krileon on topic Logout issues
Looks like your issue is due to the below.

github.com/joomla/joomla-cms/pull/19548

Joomla I guess used to clean up sessions on page load, but it no longer does this and depends on PHP session garbage collection to do it. Based off the PR this has been the case since Joomla 3.8.4. Is that right around when you started having this problem?


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • LineMine
  • LineMine
  • OFFLINE
  • Posts: 160
  • Thanks: 22
  • Karma: 6
6 years 9 months ago #302010 by LineMine
Replied by LineMine on topic Logout issues
Ah, okay, I think its possible it started with 3.8.4. The odd thing is that the Admin logout issue is just on one site, and I have a parallel site with almost identical config which is not showing this issue, although it does have the session expire problem. Il'' take a look at the info given from the link you give. Thanks for that.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48560
  • Thanks: 8292
  • Karma: 1445
6 years 9 months ago #302013 by krileon
Replied by krileon on topic Logout issues
No idea what to suggest regarding admin logout issue. That's entirely a Joomla issue as it's a Joomla administrator module that just deletes sessions.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: LineMine

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum