View access on session expire?


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?

Thanks in advance,