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

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -