XF 2.1 What is last_activity field used for?


Active member
I'm struggling a bit to grasp the exact purpose of the last_activity field in the user table.

When I log in and out, it doesn't seem to update. Shouldn't that be considered a "visit"?

In the admin's user search, there's a filter labeled "Last visited between," but it doesn't seem to detect users who simply log in and out. So, I'm curious if logging in and out should be classified as a "visit." Since the "Last visited between" filter relies on the last_activity field of the user table, I'm not entirely sure if the filter's title is accurately representing its function.

I'd appreciate any insights on this matter!
Top Bottom