Function when starting a session and when a session expires Laravel 5.6

0
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.

    
asked by anonymous 22.10.2018 / 14:53

0 answers