Skip to Content Skip to Menu

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

CB often thinks I'm logged out

7 years 11 months ago #287606 by Paladin Brewer
CB often thinks I'm logged out was created by Paladin Brewer
Hey,

I don't know how you'd help me with this problem. But often (not always), Community Builder will show that I am Offline (the red dot near my avatar), when I am clearly logged in and the rest of the site sees me as logged in just fine. Is there some sort of special caching issue I need to be looking for with CB?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
7 years 11 months ago #287619 by krileon
Replied by krileon on topic CB often thinks I'm logged out
It's cached based off the user id. However the code for you viewing the onlinestatus field and for others is the same. So it shouldn't matter who is viewing your profile as both should reflect the same thing. The online check is also entirely based off your session within the _sessions database table and your session row should have guest set as 0, but someone reported and issue where this can mess up when using the Remember Me usage where Joomla doesn't properly restore the session leaving guest set to 1.


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.

7 years 11 months ago #287626 by Paladin Brewer
Replied by Paladin Brewer on topic CB often thinks I'm logged out
So no real fix then?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
7 years 11 months ago #287653 by krileon
Replied by krileon on topic CB often thinks I'm logged out
For the Joomla remember me usage, no; as that's a problem with Joomla restoring the session with guest column set incorrectly. You need to check your session within _sessions to see if that's the case.


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.

7 years 11 months ago #287784 by Paladin Brewer
Replied by Paladin Brewer on topic CB often thinks I'm logged out
I think this is what you mean:
Code:
<table name="upa1d_session"> <column name="session_id">0131557d5e9a56885080c229dc3527b9</column> <column name="client_id">0</column> <column name="guest">1</column> <column name="time">1478476189</column> <column name="data"> joomla|s:800:"TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjI6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aTo0O3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTQ3ODQ3NjE4NjtzOjQ6Imxhc3QiO2k6MTQ3ODQ3NjE4ODtzOjM6Im5vdyI7aToxNDc4NDc2MTg5O31zOjU6InRva2VuIjtzOjMyOiJYMUJlRlFiTlB1S2tjaE5kck1NV2o0VGVpT05mQmo4SyI7fXM6ODoicmVnaXN0cnkiO086MjQ6Ikpvb21sYVxSZWdpc3RyeVxSZWdpc3RyeSI6Mzp7czo3OiIAKgBkYXRhIjtPOjg6InN0ZENsYXNzIjowOnt9czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MTtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9czo0OiJ1c2VyIjtPOjU6IkpVc2VyIjoxOntzOjI6ImlkIjtpOjA7fX1zOjE1OiJfX2Vhc3ljYWxjY2hlY2siO086ODoic3RkQ2xhc3MiOjE6e3M6MTI6InJlZGlyZWN0X3VybCI7Tjt9fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fQ=="; </column> <column name="userid">0</column> <column name="username"/> </table>

Though I don't see any sessions referring to my userid or username, I don't know if that makes a difference.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
7 years 11 months ago #287827 by krileon
Replied by krileon on topic CB often thinks I'm logged out
That can't be your session as it has no user id. That's a guest session (before logged in). You should have a session linked to your user id and if you're affected by the remember me bug then guest will be 1 instead of 0.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum