Hello, I am creating a system in laravel and I want to make a function to display the user online, I have already created the onLogin and onLogout functions, but if the session expires it stays online. I would like to know if I lease knows where I can perform functions when creating and expiring functions.
Thank you.