← Back to team overview

evoteam team mailing list archive

[Bug 693565] [NEW] Track last login date for users (user_lastseen)

 

Public bug reported:

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

** Affects: b2evolution
     Importance: Wishlist
         Status: Triaged

** Changed in: b2evolution
       Status: New => Triaged

** Changed in: b2evolution
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Evoteam,
which is subscribed to b2evolution.
https://bugs.launchpad.net/bugs/693565

Title:
  Track last login date for users (user_lastseen)

Status in b2evolution:
  Triaged

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





Follow ups

References