This topic is locked

Logout Custom Event

9/16/2016 5:15:44 AM
PHPRunner General questions
A
aalekizoglou author

I find myself missing a custom logout event (in case the user presses the logout

). Otherwise there is a daemon that takes actions needed on timeout sessions.

I tend to record users' session to the DB and have a AJAX ping function to renew the session record based on an interval, or whenever the user refreshes the browser.
I suppose during an update you could add a custom logout event.