0

I want to update a database column on session expire after 15min of inactivity in laravel. Is there a way to trigger an update in the DB upon session expiration?

I have tried multiple solutions but it is not work for me. Can anyone please help me to resolve this?

  • 1
    You can't trigger an event on session expire, because there is canonically nothing to trigger that event. Either update the row the next time the user comes back, or run a cron that periodically checks for "expired" records. – Sammitch Jun 12 '23 at 05:59

0 Answers0