Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

JomSocial Logout works only when Joomla Login module is present on homepage

2 years 2 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

When user does logout and gets homepage for guest user, after page refresh (F5) user gets full page like he is logged in.
If there is Login Joomla module on homepage (published or unpublished) on homepage this does not happen. The moment that module is deleted, user can access full site on refresh.
When there is no Joomla Login module and user does logout with JomSocial button (JomSocial toolbar menu item or JS Hello Me module) there is change in *_sessions table in database and user looks like he is logged out. But, on refresh user is presented with full site access while *_sessions stays the same, and Joomla dashboard (LOGGED-IN USERS part) shows no front-end logged in users. Even Joomla modules, like Search, that should be shown only to Registered, show up.
CFactory::getUser()->isOnline() ... on logged out user returns null in this scenario:
[_avatar] => [_cover] => [_isonline] => [_view] => 0
Now it seams that even with Joomla Login module present after logout and few F5 refreshes user is presented with full site not guest.
JomSocial 4.4

2 years 2 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

This is intended behavior?
github.com/joomla/joomla-cms/issues/11866

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW