Track last login date for users (user_lastseen)

Bug #693565 reported by Daniel Hahler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
b2evolution
Triaged
Wishlist
Unassigned

Bug Description

There should be a field user_lastseen which gets updated on every login (also via cookie).

This is (very) similar to the handling of sess_lastseen, and while it works in general to get this info from session data [1], session data is meant to get pruned regularly (e.g. every 30 days) - and therefore this info might get lost (or can only be approximate like "not seen in the last $SESS_TIMEOUT days").

I think such a field makes sense and would be useful to have in the users list / user details.

1: SQL: select max(sess_lastseen) from evo_sessions where sess_user_ID = $USERID

Daniel Hahler (blueyed)
Changed in b2evolution:
status: New → Triaged
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.