Summer Sale! All accounts are 50% off this week.

marco_develo3's avatar

How to catch information when session expires?

I write kind of activity in DB for my users when they do login or logout so they can have overview about this activities. Problem is how can I write activity for this user when session has been expired? Is there a event where I can listen for?

The example is

  • user logged in -user logged out (it was user action)
  • user logged in
  • user logged out - SESSION EXPIRED
0 likes
1 reply
tykus's avatar

how can I write activity for this user when session has been expired

You cannot; there is no event associated with an actual PHP Session expiring.

Please or to participate in this conversation.