Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

pankaj22034's avatar

How to save login and logout time in php?

I am creating an attendance software using php. How to save login and logout time and find differene of login and logout time to find the duration of work?

0 likes
1 reply
Snapey's avatar

you can record login by hooking into the login event, but you will never be able to reliably record logout

1 like

Please or to participate in this conversation.