No Code Attached Yet J4 Issue
avatar jiweigert
jiweigert
29 Oct 2020

Trying to make my life easy, I enabled Shared Sessions: Yes in Backend with a default Session Lifetime of 15 Minutes.

Already seen that there are Sessions listed under Logged-In Users for my Account,
I think that this should not happen with a Session lifetime of 15 Minutes.

Steps to reproduce the issue

  1. Set Session Lifetime to default (15 Min) or another small value.

  2. Set Shared Session: to Yes

  3. To be sure, set Session Handler to PHP
    screen shot 2020-10-29 at 14 23 04

  4. Save settings and logout

  5. Login back into backend and check Frontend that youre logged in there too (by enabling Frontend editing for example).

  6. Log out and wait longer to be sure that Session Lifetime expired

  7. Login back into backend and recognize that you're still listed under Logged-In Users with your (expired?) session.

Expected result

No listed Logged-In Users after Session Lifetime is expired in Backend.

Actual result

Sessions of several days are still listed as logged in under Logged-In Users in Backend
screen shot 2020-10-29 at 14 21 57

System information (as much as possible)

Setting Value

PHP Built On Linux www39.your-server.de 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64
Database Type mysql
Database Version 5.7.32-1
Database Collation utf8_general_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 7.4.11
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.9.22 Stable [ Amani ] 6-October-2020 15:00 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36

Additional comments

The List of Logged-In Users (Sessions) seems also not be sorted by the Timestamp.

avatar jiweigert jiweigert - open - 29 Oct 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 29 Oct 2020
avatar jiweigert jiweigert - change - 29 Oct 2020
The description was changed
avatar jiweigert jiweigert - edited - 29 Oct 2020
avatar jiweigert
jiweigert - comment - 29 Oct 2020

Backend should be added as well to the Categories, because the Logged-In Users are on default only visible there.


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

avatar ReLater
ReLater - comment - 30 Oct 2020

Isn't that the job of plugin "System - Session Data Purge" where you have settings for session data cleanup?

avatar jiweigert
jiweigert - comment - 30 Oct 2020

I just can say, that the behaviour before I changed to Share Session to Yes, was different and I saw only my own session (current), when I was logged in.

When I click on delete icon, no matter how old, I get logged out of the backend and the sessions listed were deleted.


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

avatar jiweigert
jiweigert - comment - 30 Oct 2020

My expectation is, a) Session time is responsible for all sessions.

b) when I want to delete an older Session, I do not get logged out of the current one.


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

avatar jiweigert
jiweigert - comment - 31 Oct 2020

@ReLater :

Isn't that the job of plugin "System - Session Data Purge" where you have settings for session data cleanup?

That is not a what I wanted and have an issue with it.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31269.
avatar ReLater
ReLater - comment - 31 Oct 2020

That is not a what I wanted and have an issue with it.

Yes. I've understood that meanwhile with your later addition "I get logged out of the backend".

avatar jwaisner jwaisner - change - 2 Nov 2020
Labels Added: J3 Issue
avatar jwaisner jwaisner - labeled - 2 Nov 2020
avatar alikon alikon - change - 12 Nov 2022
Labels Added: No Code Attached Yet J4 Issue
Removed: J3 Issue ?
avatar alikon alikon - labeled - 12 Nov 2022
avatar alikon alikon - unlabeled - 12 Nov 2022
avatar MacJoom
MacJoom - comment - 12 Nov 2022

I think this is not a real issue since in the action log only real user actions are logged - expired sessions are not, but i agree that the title "Logged-in users" is not accurate - expired sessions are not taken into consideration - same behaviour in Joomla 4


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

avatar alikon alikon - close - 12 Nov 2022
avatar alikon
alikon - comment - 12 Nov 2022

i agree let's close this

avatar alikon alikon - change - 12 Nov 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-11-12 14:48:58
Closed_By alikon

Add a Comment

Login with GitHub to post a comment