By Dietrich Murphy on Thursday, 22 February 2018
Posted in Technical Issues
Replies 3
Likes 0
Views 503
Votes 0
How do I get users to sign off after a certain period of time of inactivity? I noticed Joomla does this in the administrative area.
Hi Dietrich,

The session lifetime in Joomla's global configuration should determine how long the user is logged in. However, it is also dependent on whether the page periodically perform ajax requests to update new notification data for the user.

Basically when the ajax requests is executed, the session is actually renewed for the user.

You can refer to this thread which contains a similar question(thread).
·
Thursday, 22 February 2018 12:30
·
0 Likes
·
0 Votes
·
0 Comments
·
I turned off notifications in Easysocial and set the Joomla Configuration to 15 minutes. After 15 minutes, inactive users are NOT being signed out.

Also, how are notifications sent out if they have to be turned off. Is is possible to send out notifications without ajax? I have over 33,000 users. I would think AJAX would take a lot of memory.
·
Tuesday, 27 February 2018 22:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Dietrich,

There is no way to receive new notifications without polling the site. Regardless if this is a long polling or short polling, a session still exists in between them and Joomla would think that the user is active.

Making an AJAX call via Joomla constantly would definitely hog the CPU but EasySocial is intelligent enough to only make requests via Joomla when there are new notifications.

By the way, there is no settings to disable new notification polling but you could increase the value of the polling interval to a value higher than 15 minutes. I have now set it to 5000 seconds (83 minutes) before the next polling interval is requested.
·
Wednesday, 28 February 2018 00:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post