javascript - How to mark attendance timeout on browser close? -


i new in development , developing attendance system in core php.... want know how store attendance timeout in database @ time when closes browser should logout well.

you can using window.onbeforeunload event.

also, suggested in comments, sendbeacon experimental function used.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -