mercredi 27 septembre 2017

Laravel user active attribute

I have no clue if it even is possible but, If I add an "is_active" column to my user table. Can I make it work like the following? If the user is online, this turns to true so that I can make something in HTML like "Person active". And the same goes for if the individual goes offline. I somehow need to track if a person is online or offline and that for all registered users. How can I do this?

Tips are welcome! Thanks for taking the time to help me out.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire