To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I have a view that access session state in the constructor when it populates the data. I have noticed, however that this causes problems when the session expires on the page (apparently even pressing ESC constructs the view). I've tried detecting this state but the session getState() looks normal at that stage. What is the best way of handling this situation?