Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] CB Login Module: Shows still logged in after log out

8 years 8 months ago - 8 years 7 months ago #278319 by quantumgravity
Hi,

I'm not sure when this started, but now when users log out of the website, it does log them out. But the login module shows that they're still logged in. This prevents them from logging in again, since no username or password fields are shown, just the logout button. As a result, they can't access any registered content.

It happens across all browsers with website and browser caches and cookies cleared.

Obviously it's a debilitating problem. This is a five-year-old site built with CB from the beginning, so I don't know what happened recently. I'm running CB 2.0.13.

I'd like to give you login credentials if you'd be willing to take a look.

Thanks!
Last edit: 8 years 7 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #278333 by krileon
Do you have caching enabled? If you do purge the cache and see if issue goes away. If issue does then you need to disable caching for the CB login module by editing your login module and under Advanced Options set Caching to No caching. If you're using page caching you may need to disable it.


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.

8 years 7 months ago #278577 by quantumgravity
Replied by quantumgravity on topic CB Login Module: Shows still logged in after log out
Hi Kyle,

I wanted to avoid bothering you with this again, but I just can't figure it out. I have caching disabled, and the login module Advanced Options only gives me the option to have "no caching".

I duplicated the site to a test site with the same result. Could I give you credentials to see what I'm missing?

Thanks for the help.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago #278610 by krileon
Appears to be a caching issue on your home page. If you directly navigate to the login page below you'll see that your user is logged out.

index.php?option=com_comprofiler&view=login

No idea where the issue is coming from, sorry. Could be your SEF extension, your template, page cache, or a 3rd party Joomla system plugin.

I recommend switching to default Joomla protostar template to see if it has same issue. If it does completely turn off SEF entirely. If issue still persists completely turn off cache entirely.


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: quantumgravity

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

8 years 7 months ago #278916 by quantumgravity
Replied by quantumgravity on topic CB Login Module: Shows still logged in after log out
OK, in case this happens to anyone else over the life of the universe, here's what happened.

I tried all of Kyle's solutions, and they all produced different types of odd behavior. I finally found out that the host was providing its own server-based caching that conflicted with Joomla. I had upgraded the hosting plan a couple weeks ago to a business plan that allows a dedicated IP and an SSL certificate, among other things. By default, site caching was enabled with this upgraded service. Once I asked the host to turn it off, everything was fine.

Kyle, thanks so much for looking at this. Without you telling me that it was a caching issue, I doubt I would have found the problem.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum