Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1413

Administration Joomla! 5.x • Re: Users not logged out in spite of session time definition

$
0
0
Woaw! so many answers in so little time! Do you sometimes ever sleep? :D
Perhaps someone have enabled the System Page Cache Plugin?
I disabled it. So, I assume it is not necessary and it might cause the troubles I've been facing?
Although session times are not affected by page caching, it's possible that the module has its content cached.

Go to System -> Manage -> Modules, locate the module you are using then look on the Advanced tab and see if there is a setting for Caching. If there is a setting for Caching, set the value to "No caching".
The module "namesonline" suggests "no caching" by default
Using the default database session handler in Joomla has always been unreliable. Suggest you do a couple of things:

1. EMPTY the database table xxxxx_session. Do not DROP the table, just EMPTY it.

2. Change these settings in configuration.php

Code:

public $lifetime = 15;public $session_handler = 'filesystem';
Try it out and see if it helps.
I truncated the '_session table' and it worked immediately 8) :pop , then, I tested with one user. I logged in, then logged out. Didn't have to wait 60 seconds, the user was disconnected on both frontend and backend right away.
Yet, my quesiton is the following one: why would I want to change the 'configuration.php' file as the joomla console offers the possibility to modify the lifetime and the session handler type manually?

And my last question is: is it preferable to choose filesystem or database for the session handler?? All articles I've read (including the joomla guide) are confusing to me as nobody really offers a clear answer to that.

Before I let you answer the questions, I really wanted to thank you for your support!

Statistics: Posted by fabio42 — Wed Sep 04, 2024 1:45 pm



Viewing all articles
Browse latest Browse all 1413

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>