SET-EVENT-HANDLER: Simpler.
SET-VIEWPORT-EVENT-HANDLER / SESSION-LOGIN: Make sure a "login replay" (after logout) isn't possible.