Set banner on session expired and session reload

Jimix 1.3

Hi,

The requirement is to have a banner pops up on the top (SYSTEM notification) whenever session expired, session reload, log in log out,etc.

I set the notification in MainScreen / onAfterShow() method. But it doesn’t guarantee that on every session expired, the banner will show up. And I’m not sure where I should set to trigger the banner when the user reload the browser. Can you please help? thank you