From my point of view, you should set an event User is logged out instead of using on page is load. It’s not really faster, but it will apply at any moment if the user is disconnected, not just validate this on page is load.

1 Like