mercredi 2 mars 2016

How to update the value of a column in my table when the current tab close or navigate to another page?

I have a page and I named it to mypage.php. I have a table MyTable with a column STATUS. I want to update the status to T when the user enters to the page and change to F when the user leaves or close from the page. I tried with onbeforeunload with JS. Help me any way. Thanks in advance.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/24ADVtf
via IFTTT

Aucun commentaire:

Enregistrer un commentaire