?
avatar aduranterres
aduranterres
23 Aug 2016

Steps to reproduce the issue

Log in to front end marking "Remember me".
Close browser.
In a different browser, in backend, mod_logged, click to log the user out so it does not show in the list.
Open browser again and go to site. User is logged in.

Expected result

User shows in mod_logged user list, as he is logged again.

Actual result

User does not show up in mod_logged user list

System information (as much as possible)

New Joomla 3.6.2 for testing.

Additional comments

It seems session table in database is not updated with the user info, leaving entry as guest.

This may be related to #11541 , although I have not investigated it.

avatar aduranterres aduranterres - open - 23 Aug 2016
avatar RonakParmar
RonakParmar - comment - 23 Aug 2016

I have followed above steps and able to reproduce this issue.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11754.

avatar zero-24 zero-24 - change - 23 Aug 2016
Status New Confirmed
avatar zero-24
zero-24 - comment - 23 Aug 2016

Moving to confirmed.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11754.

avatar zero-24
zero-24 - comment - 23 Aug 2016

Btw can this also be reproduced on staging?

avatar bertmert
bertmert - comment - 23 Aug 2016

Maybe related? Maybe the same reason?
#11756

avatar BurtNL
BurtNL - comment - 23 Aug 2016

Another similar case as this reported issue.
Login as admin in backend.
Login as user in frontend, don't check 'Remember me'.
Go to the backend again, logout the user by clicking the red X. The user disappears from the list of logged in users.
Go to the frontend again, the user is still logged in.

The behaviour I see is also some kind of similar as reported in #11756.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11754.

avatar bertmert
bertmert - comment - 24 Aug 2016

FYI:
... 11756 was closed because "expected behavior with keepalive forms".

avatar andrepereiradasilva
andrepereiradasilva - comment - 5 Oct 2016

same issue than #11756 and #11866?

if so i think it can be closed right?

avatar aduranterres
aduranterres - comment - 5 Oct 2016

Hi.

I don't think it is related to these issues. Those are about logout.

This one is about "remeber me" option not changing session table.

When you log in normally in front end, session table will have row with guest=0, userid=user id of logged user.

When you log in with "remember me" and then you close the browser, clean session table, and go back to the site:

  • you are correctly logged in
  • but the session table is not updated, and there is not row with guest=0, userid=user id of logged user.

As the mod_logged module checks the session table to know logged in users, it does not show the ones logged through "remember me".

So, problem is not with mod_logged, but instead with "remember me" not updating session table when login by cookie happens.

Please let me know if I can provide any more info.

avatar mbabker
mbabker - comment - 5 Oct 2016

Please test with the 3.6.3 RC. We made a couple of changes (after one of the security improvements from 3.6.1) related to how the metadata in this table is populated.

avatar aduranterres
aduranterres - comment - 6 Oct 2016

Thank you. I just tested with 3.6.3 RC2 and it is now working fine.

avatar mbabker mbabker - change - 6 Oct 2016
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2016-10-06 15:20:34
Closed_By mbabker
avatar mbabker mbabker - close - 6 Oct 2016

Add a Comment

Login with GitHub to post a comment