- Posts: 2
- Thank you received: 0
So many guests?
- fabiolino42
- Topic Author
- Offline
- New Member
Less
More
2 months 3 weeks ago #2
by fabiolino42
So many guests? was created by fabiolino42
Hi!
I've been using this module for a while now, since Joomla 4 and it works ok.
Yet, I have one question. Sometimes the number of guest users shown is extremely high. I've had up to more than one thousand guest users. Had I a world-famous website, I would understand itšš That's not the case unfortunately. Is there a way to make it more faithful to reality?
Thanks for your tip!
Fabrice
I've been using this module for a while now, since Joomla 4 and it works ok.
Yet, I have one question. Sometimes the number of guest users shown is extremely high. I've had up to more than one thousand guest users. Had I a world-famous website, I would understand itšš That's not the case unfortunately. Is there a way to make it more faithful to reality?
Thanks for your tip!
Fabrice
Please Log in or Create an account to join the conversation.
2 months 3 weeks ago #3
by toivo
Replied by toivo on topic So many guests?
Hello,
The module Names Online uses the same logic as the module Who's Online, released as part of Joomla. My blog site shows 3728 guests, based on the particular rows in _session table of the Joomla database. The scheduled task in System - Managa - Scheduled Tasks - Session GC (Session Garbace Collection or Session Data Purge) should reduceĀ the number of guest sessions, but it remains the same.
That couldĀ be a bug or perhaps that is just the way the internet bots work 24/7. On the other hand, it should be possible to adjust the logic of Names Online to count only genuine browser visits from guests and not from bots.
Regards,
toivo
The module Names Online uses the same logic as the module Who's Online, released as part of Joomla. My blog site shows 3728 guests, based on the particular rows in _session table of the Joomla database. The scheduled task in System - Managa - Scheduled Tasks - Session GC (Session Garbace Collection or Session Data Purge) should reduceĀ the number of guest sessions, but it remains the same.
That couldĀ be a bug or perhaps that is just the way the internet bots work 24/7. On the other hand, it should be possible to adjust the logic of Names Online to count only genuine browser visits from guests and not from bots.
Regards,
toivo
Please Log in or Create an account to join the conversation.
- fabiolino42
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
2 months 3 weeks ago #4
by fabiolino42
Replied by fabiolino42 on topic So many guests?
Thank you for this explanation which sounds fair to me. I once read in forums that bots were really active skimming the websites, so that could easily explain why. Yes, a bit of coding could do the job, yet, I wonder why Joomla has never tried to improve their module. This one used to be a must when I had a joomla 1.5 website (old me
)
Just a question: do you think I should allow caching (in the global configuration of Joomla) or not to make Names Online work better with users logging off. I sometimes noticed that (most probably because users unproperly log out simply by closing their browser instead of logging out with the button), they remain present in the list suggested by Names Online?
Here are my settings at the moment:
Joomla 5.1.4 (I updated from 4 to 5.1 recently, and everything was working well before)
System cache: on conservative setting
Cache handler: file
Platform specific caching: no
Cache time: 15 minutes
Session handler: database
Session lifetime: 60 minutes
Shared session: no
Track session metadata: yes
Track guest session metadata: yes
Thanks again.
Just a question: do you think I should allow caching (in the global configuration of Joomla) or not to make Names Online work better with users logging off. I sometimes noticed that (most probably because users unproperly log out simply by closing their browser instead of logging out with the button), they remain present in the list suggested by Names Online?
Here are my settings at the moment:
Joomla 5.1.4 (I updated from 4 to 5.1 recently, and everything was working well before)
System cache: on conservative setting
Cache handler: file
Platform specific caching: no
Cache time: 15 minutes
Session handler: database
Session lifetime: 60 minutes
Shared session: no
Track session metadata: yes
Track guest session metadata: yes
Thanks again.
Please Log in or Create an account to join the conversation.
3 weeks 1 day ago - 3 weeks 1 day ago #5
by toivo
Replied by toivo on topic So many guests?
The Names Online shows a large number of guest sessions if the sessions are not removed, a process called Garbage Collection. The Joomla scheduled task 'Session GC' is designed to do that, independent of the Session Handler, whether Database or Filesystem has been selected as the session handler.
The Joomla scheduled tasks may not run at all because of a certain setting in PHP that users in shared servers are unable to change. There is a way around this and it involves a cron job, using the scheduler built into the operating system. Cron jobs are created from the cPanel, the control panel provided by your host. This was explained in detail today in my reply to the topicĀ Users logged in to the site Ā in the The Joomla! Forumā¢ .
Regards,
toivo
Ā
The Joomla scheduled tasks may not run at all because of a certain setting in PHP that users in shared servers are unable to change. There is a way around this and it involves a cron job, using the scheduler built into the operating system. Cron jobs are created from the cPanel, the control panel provided by your host. This was explained in detail today in my reply to the topicĀ Users logged in to the site Ā in the The Joomla! Forumā¢ .
Regards,
toivo
Ā
Last edit: 3 weeks 1 day ago by toivo.
Please Log in or Create an account to join the conversation.
3 weeks 20 hours ago #6
by toivo
Replied by toivo on topic So many guests?
Update: the cleaning of guest sessions using cron did not work the way I thought it would. Still investigating.
Please Log in or Create an account to join the conversation.
Time to create page: 0.287 seconds