- Posts: 21
Before asking for help please read "How to request help" by clicking on that tab above here."
Question Display "Last logged in" in "User administration"
- Norm
- Offline
- New Member
includes/session.php:
See the attached screenshot for the output.
> ...and I would love to have access to a machine that exhibits this behaviour ...
mboucher mentions this problem here and has a public facing server.
Norm
Debian Sid
PHP 7.0.14-2
Mysql 5.7.16-1 (Debian)
Apache/2.4.25 (Debian)
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
I mean a machine on which I can edit the code to add debug, etc.
In any case, I have just submitted the change you suggested so that we set this value at login as well as at 5 minutes intervals.
I also reduced the interval to 1 minute.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Norm
- Offline
- New Member
- Posts: 21
> I mean a machine on which I can edit the code to add debug, etc.
You aren't by any chance vacationing in Texas, are you?
Norm
Debian Sid
PHP 7.0.14-2
Mysql 5.7.16-1 (Debian)
Apache/2.4.25 (Debian)
Please Log in or Create an account to join the conversation.
- Enigma1964
- Offline
- Junior Member
fisharebest wrote: In any case, I have just submitted the change you suggested so that we set this value at login as well as at 5 minutes intervals.
I also reduced the interval to 1 minute.
Wait untill the next version for these changes?
Please Log in or Create an account to join the conversation.
- Norm
- Offline
- New Member
- Posts: 21
Norm
Debian Sid
PHP 7.0.14-2
Mysql 5.7.16-1 (Debian)
Apache/2.4.25 (Debian)
Please Log in or Create an account to join the conversation.
- Enigma1964
- Offline
- Junior Member
It is strange that when a user is logged in for 1 hour, the last logged in shows <5 minutes ago
Please Log in or Create an account to join the conversation.
- Enigma1964
- Offline
- Junior Member
Enigma1964 wrote: It's working.
It is strange that when a user is logged in for 1 hour, the last logged in shows <5 minutes ago
Problem solved.
I removed the lines 475-478 in file includes/session.php
Why update login time every x minutes?
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
Because some site owners want to know who is active on their site right now.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.